The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Violet, reference main (01693c), with Swift 6.1 for Android on 30 May 2025 09:07:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

        "Helpers/GlobalFunctions.swift",
        "Helpers/MinRequiredWidthTestCases.swift",
        "Helpers/StringTestCases.swift",
        "Helpers/WordsTestCases.swift",
        "Node/NodeTests+Support.swift",
        "Node/NodeTests.swift",
        "Smi vs heap/SmiVsHeapHash.swift",
        "Smi vs heap/SmiVsHeapProperties.swift",
        "Smi/SmiBinaryTests.swift",
        "Smi/SmiBitTests.swift",
        "Smi/SmiPropertyTests.swift",
        "Smi/SmiShiftTests.swift",
        "Smi/SmiUnaryTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigInt",
      "module_type" : "SwiftTarget",
      "name" : "BigInt",
      "path" : "Sources/BigInt",
      "product_memberships" : [
        "Violet",
        "PyTests",
        "LibViolet"
      ],
      "sources" : [
        "BigInt+InitFromBinaryFloatingPoint.swift",
        "BigInt+InitFromPythonString.swift",
        "BigInt+InitFromString.swift",
        "BigInt+ToString.swift",
        "BigInt+Words.swift",
        "BigInt.swift",
        "BigIntHeap+Add.swift",
        "BigIntHeap+And+Or+Xor.swift",
        "BigIntHeap+Div+Rem.swift",
        "BigIntHeap+Equatable+Comparable.swift",
        "BigIntHeap+Mul.swift",
        "BigIntHeap+Shifts.swift",
        "BigIntHeap+Sub.swift",
        "BigIntHeap+ToString.swift",
        "BigIntHeap+Unary.swift",
        "BigIntHeap.swift",
        "BigIntStorage.swift",
        "Smi.swift",
        "extensions.swift"
      ],
      "target_dependencies" : [
        "VioletCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.4 (3.17s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.4
Building for debugging...
[0/37] Write sources
[15/37] Write swift-version-24593BA9C3E375BF.txt
[17/110] Emitting module Rapunzel
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:127:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
125 |
126 |   /// Empty document. Identity.
127 |   public static let empty = Doc.text("")
    |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 |   /// `' '`
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:130:21: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
128 |
129 |   /// `' '`
130 |   public static let space = Doc.text(" ")
    |                     |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |   /// `.`
132 |   public static let dot = Doc.text(".")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:132:21: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
130 |   public static let space = Doc.text(" ")
131 |   /// `.`
132 |   public static let dot = Doc.text(".")
    |                     |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'dot' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |   /// `:`
134 |   public static let colon = Doc.text(":")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:134:21: warning: static property 'colon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
132 |   public static let dot = Doc.text(".")
133 |   /// `:`
134 |   public static let colon = Doc.text(":")
    |                     |- warning: static property 'colon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |   /// `,`
136 |   public static let comma = Doc.text(",")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:136:21: warning: static property 'comma' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
134 |   public static let colon = Doc.text(":")
135 |   /// `,`
136 |   public static let comma = Doc.text(",")
    |                     |- warning: static property 'comma' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |   /// `;`
138 |   public static let semicolon = Doc.text(";")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:138:21: warning: static property 'semicolon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
136 |   public static let comma = Doc.text(",")
137 |   /// `;`
138 |   public static let semicolon = Doc.text(";")
    |                     |- warning: static property 'semicolon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'semicolon' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 |   /// `(`
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:141:21: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
139 |
140 |   /// `(`
141 |   public static let leftParen = Doc.text("(")
    |                     |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftParen' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |   /// `[`
143 |   public static let leftSqb = Doc.text("[")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:143:21: warning: static property 'leftSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
141 |   public static let leftParen = Doc.text("(")
142 |   /// `[`
143 |   public static let leftSqb = Doc.text("[")
    |                     |- warning: static property 'leftSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftSqb' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |   /// `{`
145 |   public static let leftBrace = Doc.text("{")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:145:21: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
143 |   public static let leftSqb = Doc.text("[")
144 |   /// `{`
145 |   public static let leftBrace = Doc.text("{")
    |                     |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftBrace' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |   /// `)`
147 |   public static let rightParen = Doc.text(")")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:147:21: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
145 |   public static let leftBrace = Doc.text("{")
146 |   /// `)`
147 |   public static let rightParen = Doc.text(")")
    |                     |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightParen' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |   /// `]`
149 |   public static let rightSqb = Doc.text("]")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:149:21: warning: static property 'rightSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
147 |   public static let rightParen = Doc.text(")")
148 |   /// `]`
149 |   public static let rightSqb = Doc.text("]")
    |                     |- warning: static property 'rightSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightSqb' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |   /// `}`
151 |   public static let rightBrace = Doc.text("}")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:151:21: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
149 |   public static let rightSqb = Doc.text("]")
150 |   /// `}`
151 |   public static let rightBrace = Doc.text("}")
    |                     |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightBrace' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 |   // MARK: - Common layout
[18/110] Compiling UnicodeData UnicodeScalar+unsafeInit.swift
[19/110] Compiling Rapunzel Rapunzel.swift
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:127:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
125 |
126 |   /// Empty document. Identity.
127 |   public static let empty = Doc.text("")
    |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 |   /// `' '`
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:130:21: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
128 |
129 |   /// `' '`
130 |   public static let space = Doc.text(" ")
    |                     |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'space' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |   /// `.`
132 |   public static let dot = Doc.text(".")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:132:21: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
130 |   public static let space = Doc.text(" ")
131 |   /// `.`
132 |   public static let dot = Doc.text(".")
    |                     |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'dot' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |   /// `:`
134 |   public static let colon = Doc.text(":")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:134:21: warning: static property 'colon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
132 |   public static let dot = Doc.text(".")
133 |   /// `:`
134 |   public static let colon = Doc.text(":")
    |                     |- warning: static property 'colon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'colon' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |   /// `,`
136 |   public static let comma = Doc.text(",")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:136:21: warning: static property 'comma' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
134 |   public static let colon = Doc.text(":")
135 |   /// `,`
136 |   public static let comma = Doc.text(",")
    |                     |- warning: static property 'comma' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'comma' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |   /// `;`
138 |   public static let semicolon = Doc.text(";")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:138:21: warning: static property 'semicolon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
136 |   public static let comma = Doc.text(",")
137 |   /// `;`
138 |   public static let semicolon = Doc.text(";")
    |                     |- warning: static property 'semicolon' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'semicolon' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 |   /// `(`
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:141:21: warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
139 |
140 |   /// `(`
141 |   public static let leftParen = Doc.text("(")
    |                     |- warning: static property 'leftParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftParen' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |   /// `[`
143 |   public static let leftSqb = Doc.text("[")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:143:21: warning: static property 'leftSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
141 |   public static let leftParen = Doc.text("(")
142 |   /// `[`
143 |   public static let leftSqb = Doc.text("[")
    |                     |- warning: static property 'leftSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftSqb' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |   /// `{`
145 |   public static let leftBrace = Doc.text("{")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:145:21: warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
143 |   public static let leftSqb = Doc.text("[")
144 |   /// `{`
145 |   public static let leftBrace = Doc.text("{")
    |                     |- warning: static property 'leftBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'leftBrace' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |   /// `)`
147 |   public static let rightParen = Doc.text(")")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:147:21: warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
145 |   public static let leftBrace = Doc.text("{")
146 |   /// `)`
147 |   public static let rightParen = Doc.text(")")
    |                     |- warning: static property 'rightParen' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightParen' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |   /// `]`
149 |   public static let rightSqb = Doc.text("]")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:149:21: warning: static property 'rightSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
147 |   public static let rightParen = Doc.text(")")
148 |   /// `]`
149 |   public static let rightSqb = Doc.text("]")
    |                     |- warning: static property 'rightSqb' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightSqb' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |   /// `}`
151 |   public static let rightBrace = Doc.text("}")
/host/spi-builder-workspace/Sources/Rapunzel/Rapunzel.swift:151:21: warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Document algebra with `concat` operation and `empty` as a unit.
 21 | /// Use `text` to lift `String` into a `Doc`.
 22 | public indirect enum Doc: RapunzelConvertible {
    |                      `- note: consider making enum 'Doc' conform to the 'Sendable' protocol
 23 |
 24 |   /// Concatenates two documents (also available as `<>` operator).
    :
149 |   public static let rightSqb = Doc.text("]")
150 |   /// `}`
151 |   public static let rightBrace = Doc.text("}")
    |                     |- warning: static property 'rightBrace' is not concurrency-safe because non-'Sendable' type 'Doc' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'rightBrace' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 |   // MARK: - Common layout
[20/110] Compiling Rapunzel Wadler.swift
[21/111] Compiling UnicodeData UnicodeData.swift
[23/111] Compiling UnicodeData UnicodeData+CaseMapping.swift
[24/111] Compiling UnicodeData UnicodeData+Record.swift
[24/111] Wrapping AST for Rapunzel for debugging
[26/111] Compiling VioletCore NonEmptyArray.swift
[27/112] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[28/112] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[29/112] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[30/112] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[31/112] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[32/116] Emitting module Elsa
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/118] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[34/118] Compiling VioletCore UseScalarsToHashString.swift
[35/118] Compiling VioletCore Double+PythonParse.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[36/118] Compiling VioletCore CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[37/118] Compiling VioletCore StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[38/118] Compiling VioletCore Lyrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[39/118] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[40/118] Compiling ArgumentParser Option.swift
[41/118] Compiling ArgumentParser OptionGroup.swift
[42/118] Compiling ArgumentParser CommandConfiguration.swift
[43/118] Compiling ArgumentParser EnumerableFlag.swift
[44/118] Compiling ArgumentParser ExpressibleByArgument.swift
[45/118] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[46/118] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[47/118] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[48/118] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
/host/spi-builder-workspace/Sources/Elsa/Globals.swift:4:27: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | func withRedirectedStandardOutput(to file: URL, block: () -> Void) {
 4 |   freopen(file.path, "w", stdout)
   |                           `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 5 |   block()
 6 |   fclose(stdout)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Globals.swift:6:10: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 4 |   freopen(file.path, "w", stdout)
 5 |   block()
 6 |   fclose(stdout)
   |          `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 | }
 8 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
[50/118] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/Sources/Elsa/Globals.swift:4:27: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | func withRedirectedStandardOutput(to file: URL, block: () -> Void) {
 4 |   freopen(file.path, "w", stdout)
   |                           `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 5 |   block()
 6 |   fclose(stdout)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Globals.swift:6:10: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 4 |   freopen(file.path, "w", stdout)
 5 |   block()
 6 |   fclose(stdout)
   |          `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 | }
 8 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
[54/118] Compiling VioletCore SourceLocation.swift
[55/118] Compiling VioletCore Trap.swift
[56/118] Compiling VioletCore Unreachable.swift
[60/118] Compiling VioletCore SipHash.swift
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:45:29: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |   private func withRedirectedStandardOutput(to file: URL, block: () -> Void) {
 45 |     freopen(file.path, "w", stdout)
    |                             `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 46 |     block()
 47 |     fclose(stdout)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:47:12: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 45 |     freopen(file.path, "w", stdout)
 46 |     block()
 47 |     fclose(stdout)
    |            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |   }
 49 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:45:29: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |   private func withRedirectedStandardOutput(to file: URL, block: () -> Void) {
 45 |     freopen(file.path, "w", stdout)
    |                             `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 46 |     block()
 47 |     fclose(stdout)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:47:12: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 45 |     freopen(file.path, "w", stdout)
 46 |     block()
 47 |     fclose(stdout)
    |            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |   }
 49 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:45:29: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 |   private func withRedirectedStandardOutput(to file: URL, block: () -> Void) {
 45 |     freopen(file.path, "w", stdout)
    |                             `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 46 |     block()
 47 |     fclose(stdout)
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
/host/spi-builder-workspace/Sources/Elsa/Entities/SourceFileVisitor.swift:47:12: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 45 |     freopen(file.path, "w", stdout)
 46 |     block()
 47 |     fclose(stdout)
    |            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 48 |   }
 49 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
 61 | #if __ANDROID_API__ >= 23
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
    |                       `- note: var declared here
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
 65 |
[67/118] Compiling Elsa Parser.swift
[68/118] Compiling Elsa main.swift
[69/118] Compiling ArgumentParser InputOrigin.swift
[70/118] Compiling ArgumentParser Name.swift
[71/118] Compiling ArgumentParser Parsed.swift
[72/118] Compiling ArgumentParser ParsedValues.swift
[73/118] Compiling ArgumentParser ParserError.swift
[74/118] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[75/118] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[76/118] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[77/118] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[83/118] Emitting module VioletCore
[92/120] Compiling ArgumentParser UsageGenerator.swift
[93/120] Compiling ArgumentParser SequenceExtensions.swift
[94/120] Compiling ArgumentParser StringExtensions.swift
[95/120] Compiling ArgumentParser Tree.swift
[98/120] Compiling UnicodeData ASCIIData.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/22] Write swift-version-24593BA9C3E375BF.txt
[2/95] Compiling Elsa Lexer.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[3/95] Compiling Elsa Token.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[4/95] Compiling Elsa Types.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[5/95] Compiling Elsa AstSourceFileVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                               `- error: cannot find 'putc' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                       `- error: cannot find 'stderr' in scope
 64 |   }
 65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
 61 | struct StandardError: TextOutputStream {
 62 |   mutating func write(_ string: String) {
 63 |     for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                    `- error: generic parameter 'U' could not be inferred
 64 |   }
 65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:180:7: error: cannot find '_exit' in scope
178 |   ) -> Never {
179 |     guard let error = error else {
180 |       _exit(ExitCode.success.rawValue)
    |       `- error: cannot find '_exit' in scope
181 |     }
182 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:192:5: error: cannot find '_exit' in scope
190 |       }
191 |     }
192 |     _exit(messageInfo.exitCode.rawValue)
    |     `- error: cannot find '_exit' in scope
193 |   }
194 |
[6/99] Compiling UnicodeData UnicodeScalar+unsafeInit.swift
[7/99] Compiling Rapunzel Wadler.swift
[8/99] Compiling Elsa SourceFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[9/99] Compiling Elsa SourceFileVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[10/99] Compiling Elsa SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[11/99] Compiling Elsa Doc.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[12/99] Compiling Elsa Enumeration.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[13/99] Compiling VioletCore Unreachable.swift
[14/99] Compiling VioletCore Trap.swift
[15/100] Compiling VioletCore SourceLocation.swift
[16/100] Emitting module Rapunzel
[17/100] Compiling Rapunzel Rapunzel.swift
[18/101] Compiling Elsa Globals.swift
[20/103] Compiling VioletCore NonEmptyArray.swift
[21/103] Compiling VioletCore SipHash.swift
[22/103] Compiling VioletCore UseScalarsToHashString.swift
[23/103] Emitting module Elsa
[24/103] Compiling Elsa EmitBytecodeFilledDescriptionVisitor.swift
[25/103] Compiling Elsa EmitBytecodeFilledVisitor.swift
[26/103] Compiling Elsa EmitBytecodeVisitor.swift
[34/103] Compiling Elsa ProductType.swift
[35/103] Emitting module VioletCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/103] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[41/103] Compiling ArgumentParser SplitArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[42/103] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[43/103] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[44/103] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:329:11: error: cannot find 'winsize' in scope
327 |           height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
328 | #else
329 |   var w = winsize()
    |           `- error: cannot find 'winsize' in scope
330 | #if os(OpenBSD)
331 |   // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:13: error: cannot find 'ioctl' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |             `- error: cannot find 'ioctl' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:19: error: cannot find 'STDOUT_FILENO' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                   `- error: cannot find 'STDOUT_FILENO' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:335:34: error: cannot find 'TIOCGWINSZ' in scope
333 |   let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
334 | #else
335 |   let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                  `- error: cannot find 'TIOCGWINSZ' in scope
336 | #endif
337 |   let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
[45/103] Compiling ArgumentParser Name.swift
[46/103] Compiling ArgumentParser Parsed.swift
[47/103] Compiling ArgumentParser ParsedValues.swift
[48/103] Compiling ArgumentParser ParserError.swift
[48/103] Wrapping AST for VioletCore for debugging
[53/103] Compiling Elsa EmitAstBuilderVisitor.swift
[54/103] Compiling Elsa EmitAstVisitor.swift
[55/103] Compiling Elsa EmitAstVisitorsVisitor.swift
[56/103] Compiling Elsa BytecodeFileVisitor.swift
[57/103] Compiling Elsa EmitBytecodeDescriptionVisitor.swift
[58/103] Compiling Elsa EmitBytecodeDocumentationVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
 47 | #else
 48 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 49 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 50 |     let shellParts = String(cString: shellVar).split(separator: "/")
 51 |     return CompletionShell(rawValue: String(shellParts.last ?? ""))
[64/134] Compiling Elsa Parser.swift
[65/134] Compiling Elsa main.swift
[66/134] Compiling FileSystem Path.swift
[67/136] Compiling BigInt BigInt+InitFromString.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:30: error: cannot find 'S_IRWXU' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                              `- error: cannot find 'S_IRWXU' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:40: error: cannot find 'S_IRWXG' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                        `- error: cannot find 'S_IRWXG' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:50: error: cannot find 'S_IRWXO' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                                  `- error: cannot find 'S_IRWXO' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:26: error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                          `- error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:38: error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                      `- error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
[68/136] Compiling BigInt BigInt+ToString.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:30: error: cannot find 'S_IRWXU' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                              `- error: cannot find 'S_IRWXU' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:40: error: cannot find 'S_IRWXG' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                        `- error: cannot find 'S_IRWXG' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:50: error: cannot find 'S_IRWXO' in scope
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                                  `- error: cannot find 'S_IRWXO' in scope
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:26: error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                          `- error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Creat.swift:29:38: error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
27 |     }
28 |
29 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
   |                                      `- error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
30 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
31 |       switch LibC.creat(path: fsRep, mode: modeToUse) {
[69/136] Compiling BigInt BigInt+Words.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:30: error: cannot find 'S_IRWXU' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                              `- error: cannot find 'S_IRWXU' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:40: error: cannot find 'S_IRWXG' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                        `- error: cannot find 'S_IRWXG' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:50: error: cannot find 'S_IRWXO' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                                  `- error: cannot find 'S_IRWXO' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:26: error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                          `- error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:38: error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                      `- error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
[70/136] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:30: error: cannot find 'S_IRWXU' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                              `- error: cannot find 'S_IRWXU' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:40: error: cannot find 'S_IRWXG' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                        `- error: cannot find 'S_IRWXG' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:50: error: cannot find 'S_IRWXO' in scope
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                                  `- error: cannot find 'S_IRWXO' in scope
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:26: error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                          `- error: binary operator '??' cannot be applied to operands of type 'mode_t?' (aka 'Optional<UInt32>') and 'UInt8'
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Mkdir.swift:40:38: error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
 38 |     }
 39 |
 40 |     let modeToUse = mode ?? (S_IRWXU | S_IRWXG | S_IRWXO)
    |                                      `- error: cannot convert value of type 'UInt8' to expected argument type 'UInt32'
 41 |     return self.withFileSystemRepresentation(path: nonEmpty) { fsRep in
 42 |       switch LibC.mkdir(path: fsRep, mode: modeToUse) {
[71/136] Compiling ArgumentParser UsageGenerator.swift
[72/136] Compiling ArgumentParser SequenceExtensions.swift
[73/136] Compiling ArgumentParser StringExtensions.swift
[74/136] Compiling ArgumentParser Tree.swift
[76/136] Compiling FileSystem LibC.swift
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:147:40: error: cannot find type 'stat' in scope
145 |   // MARK: - stat
146 |
147 |   internal static func createStat() -> stat {
    |                                        `- error: cannot find type 'stat' in scope
148 |     return Foundation.stat()
149 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:173:56: error: cannot find type 'stat' in scope
171 |   /// https://linux.die.net/man/2/fstat
172 |   internal static func fstat(fd: Int32,
173 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
174 |     let returnValue = Foundation.fstat(fd, buf)
175 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:180:56: error: cannot find type 'stat' in scope
178 |   /// https://linux.die.net/man/2/lstat
179 |   internal static func lstat(path: UnsafePointer<Int8>!,
180 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
181 |     let returnValue = Foundation.lstat(path, buf)
182 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:188:16: error: cannot find type 'DIR' in scope
186 |
187 |   internal enum OpendirResult {
188 |     case value(DIR)
    |                `- error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:191:35: error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
191 |     fileprivate init(returnValue: DIR?) {
    |                                   `- error: cannot find type 'DIR' in scope
192 |       // The opendir() and fdopendir() functions return a pointer to the directory
193 |       // stream. On error, NULL is returned, and errno is set appropriately.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:243:42: error: cannot find type 'dirent' in scope
241 |   // MARK: - readdir_r
242 |
243 |   internal static func createDirent() -> dirent {
    |                                          `- error: cannot find type 'dirent' in scope
244 |     return dirent()
245 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:255:11: error: cannot find type 'DIR' in scope
253 |   /// https://linux.die.net/man/3/readdir_r
254 |   internal static func readdir_r(
255 |     dirp: DIR,
    |           `- error: cannot find type 'DIR' in scope
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:256:33: error: cannot find type 'dirent' in scope
254 |   internal static func readdir_r(
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
    |                                 `- error: cannot find type 'dirent' in scope
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
258 |   ) -> ReaddirResult {
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:257:55: error: cannot find type 'dirent' in scope
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
    |                                                       `- error: cannot find type 'dirent' in scope
258 |   ) -> ReaddirResult {
259 |     // The readdir_r() function returns 0 on success.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:285:39: error: cannot find type 'DIR' in scope
283 |
284 |   /// https://linux.die.net/man/3/closedir
285 |   internal static func closedir(dirp: DIR) -> ClosedirResult {
    |                                       `- error: cannot find type 'DIR' in scope
286 |     // The closedir() function returns 0 on success. On error, -1 is returned,
287 |     // and errno is set appropriately.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:135:12: error: module 'Foundation' has no member named 'creat'
133 |     // open() and creat() return the new file descriptor,
134 |     // or -1 if an error occurred (in which case, errno is set appropriately).
135 |     switch Foundation.creat(path, mode) {
    |            `- error: module 'Foundation' has no member named 'creat'
136 |     case -1:
137 |       let err = Foundation.errno
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:137:17: error: module 'Foundation' has no member named 'errno'
135 |     switch Foundation.creat(path, mode) {
136 |     case -1:
137 |       let err = Foundation.errno
    |                 `- error: module 'Foundation' has no member named 'errno'
138 |       Foundation.errno = 0
139 |       return .value(err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:138:7: error: module 'Foundation' has no member named 'errno'
136 |     case -1:
137 |       let err = Foundation.errno
138 |       Foundation.errno = 0
    |       `- error: module 'Foundation' has no member named 'errno'
139 |       return .value(err)
140 |     case let fd:
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:165:17: error: module 'Foundation' has no member named 'errno'
163 |       assert(returnValue == -1)
164 |
165 |       let err = Foundation.errno
    |                 `- error: module 'Foundation' has no member named 'errno'
166 |       Foundation.errno = 0
167 |       self = .errno(err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:166:7: error: module 'Foundation' has no member named 'errno'
164 |
165 |       let err = Foundation.errno
166 |       Foundation.errno = 0
    |       `- error: module 'Foundation' has no member named 'errno'
167 |       self = .errno(err)
168 |     }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:174:23: error: module 'Foundation' has no member named 'fstat'
172 |   internal static func fstat(fd: Int32,
173 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
174 |     let returnValue = Foundation.fstat(fd, buf)
    |                       `- error: module 'Foundation' has no member named 'fstat'
175 |     return StatResult(returnValue: returnValue)
176 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:181:23: error: module 'Foundation' has no member named 'lstat'
179 |   internal static func lstat(path: UnsafePointer<Int8>!,
180 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
181 |     let returnValue = Foundation.lstat(path, buf)
    |                       `- error: module 'Foundation' has no member named 'lstat'
182 |     return StatResult(returnValue: returnValue)
183 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:200:17: error: module 'Foundation' has no member named 'errno'
198 |       }
199 |
200 |       let err = Foundation.errno
    |                 `- error: module 'Foundation' has no member named 'errno'
201 |       Foundation.errno = 0
202 |       self = .errno(err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:201:7: error: module 'Foundation' has no member named 'errno'
199 |
200 |       let err = Foundation.errno
201 |       Foundation.errno = 0
    |       `- error: module 'Foundation' has no member named 'errno'
202 |       self = .errno(err)
203 |     }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:208:23: error: module 'Foundation' has no member named 'fdopendir'
206 |   /// https://linux.die.net/man/3/fdopendir
207 |   internal static func fdopendir(fd: Int32) -> OpendirResult {
208 |     let returnValue = Foundation.fdopendir(fd)
    |                       `- error: module 'Foundation' has no member named 'fdopendir'
209 |     return OpendirResult(returnValue: returnValue)
210 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:214:23: error: module 'Foundation' has no member named 'opendir'
212 |   /// https://linux.die.net/man/3/opendir
213 |   internal static func opendir(name: UnsafePointer<Int8>!) -> OpendirResult {
214 |     let returnValue = Foundation.opendir(name)
    |                       `- error: module 'Foundation' has no member named 'opendir'
215 |     return OpendirResult(returnValue: returnValue)
216 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:231:23: error: module 'Foundation' has no member named 'mkdir'
229 |     // (in which case, errno is set appropriately).
230 |
231 |     let returnValue = Foundation.mkdir(path, mode)
    |                       `- error: module 'Foundation' has no member named 'mkdir'
232 |     if returnValue == 0 {
233 |       return .ok
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:236:15: error: module 'Foundation' has no member named 'errno'
234 |     }
235 |
236 |     let err = Foundation.errno
    |               `- error: module 'Foundation' has no member named 'errno'
237 |     Foundation.errno = 0
238 |     return .errno(err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:237:5: error: module 'Foundation' has no member named 'errno'
235 |
236 |     let err = Foundation.errno
237 |     Foundation.errno = 0
    |     `- error: module 'Foundation' has no member named 'errno'
238 |     return .errno(err)
239 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:264:17: error: module 'Foundation' has no member named 'readdir_r'
262 |     // and returns NULL in *result.
263 |
264 |     let errno = Foundation.readdir_r(dirp, entry, result)
    |                 `- error: module 'Foundation' has no member named 'readdir_r'
265 |     guard errno == 0 else {
266 |       return .errno(errno)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:289:23: error: module 'Foundation' has no member named 'closedir'
287 |     // and errno is set appropriately.
288 |
289 |     let returnValue = Foundation.closedir(dirp)
    |                       `- error: module 'Foundation' has no member named 'closedir'
290 |     if returnValue == 0 {
291 |       return .ok
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:298:15: error: module 'Foundation' has no member named 'errno'
296 |     // Should not happen, the only possible thing is:
297 |     // EBADF - Invalid directory stream descriptor dirp.
298 |     let err = Foundation.errno
    |               `- error: module 'Foundation' has no member named 'errno'
299 |     Foundation.errno = 0
300 |     return .errno(err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:299:5: error: module 'Foundation' has no member named 'errno'
297 |     // EBADF - Invalid directory stream descriptor dirp.
298 |     let err = Foundation.errno
299 |     Foundation.errno = 0
    |     `- error: module 'Foundation' has no member named 'errno'
300 |     return .errno(err)
301 |   }
[77/136] Compiling FileSystem PathPartConvertible.swift
[77/136] Wrapping AST for Elsa for debugging
[78/136] Write Objects.LinkFileList
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/136] Emitting module FileSystem
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:474:21: error: cannot find 'STDIN_FILENO' in scope
472 |
473 |   public static let standardInput = FileDescriptor(
474 |     fileDescriptor: STDIN_FILENO,
    |                     `- error: cannot find 'STDIN_FILENO' in scope
475 |     closeOnDealloc: false
476 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:479:21: error: cannot find 'STDOUT_FILENO' in scope
477 |
478 |   public static let standardOutput = FileDescriptor(
479 |     fileDescriptor: STDOUT_FILENO,
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
480 |     closeOnDealloc: false
481 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:484:21: error: cannot find 'STDERR_FILENO' in scope
482 |
483 |   public static let standardError = FileDescriptor(
484 |     fileDescriptor: STDERR_FILENO,
    |                     `- error: cannot find 'STDERR_FILENO' in scope
485 |     closeOnDealloc: false
486 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:83:38: error: cannot find type 'DIR' in scope
 81 |   }
 82 |
 83 |   private func readdirAndClose(dirp: DIR) -> ReaddirResult {
    |                                      `- error: cannot find type 'DIR' in scope
 84 |     var result = [Filename]()
 85 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:117:37: error: cannot find type 'dirent' in scope
115 |   }
116 |
117 |   private func getName(entry: inout dirent) -> String {
    |                                     `- error: cannot find type 'dirent' in scope
118 |     // From 'https://man7.org/linux/man-pages/man0/dirent.h.0p.html':
119 |     // The array d_name is of unspecified size, but shall contain a
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:63:32: error: no type named 'stat' in module 'Foundation'
 61 |   }
 62 |
 63 |   public init(stat: Foundation.stat) {
    |                                `- error: no type named 'stat' in module 'Foundation'
 64 |     self.st_mode = stat.st_mode
 65 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:83:53: error: cannot find type 'stat' in scope
 81 |     case error(errno: Int32)
 82 |
 83 |     fileprivate init(result: LibC.StatResult, data: stat) {
    |                                                     `- error: cannot find type 'stat' in scope
 84 |       switch result {
 85 |       case .ok:
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:147:40: error: cannot find type 'stat' in scope
145 |   // MARK: - stat
146 |
147 |   internal static func createStat() -> stat {
    |                                        `- error: cannot find type 'stat' in scope
148 |     return Foundation.stat()
149 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:173:56: error: cannot find type 'stat' in scope
171 |   /// https://linux.die.net/man/2/fstat
172 |   internal static func fstat(fd: Int32,
173 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
174 |     let returnValue = Foundation.fstat(fd, buf)
175 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:180:56: error: cannot find type 'stat' in scope
178 |   /// https://linux.die.net/man/2/lstat
179 |   internal static func lstat(path: UnsafePointer<Int8>!,
180 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
181 |     let returnValue = Foundation.lstat(path, buf)
182 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:188:16: error: cannot find type 'DIR' in scope
186 |
187 |   internal enum OpendirResult {
188 |     case value(DIR)
    |                `- error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:191:35: error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
191 |     fileprivate init(returnValue: DIR?) {
    |                                   `- error: cannot find type 'DIR' in scope
192 |       // The opendir() and fdopendir() functions return a pointer to the directory
193 |       // stream. On error, NULL is returned, and errno is set appropriately.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:243:42: error: cannot find type 'dirent' in scope
241 |   // MARK: - readdir_r
242 |
243 |   internal static func createDirent() -> dirent {
    |                                          `- error: cannot find type 'dirent' in scope
244 |     return dirent()
245 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:255:11: error: cannot find type 'DIR' in scope
253 |   /// https://linux.die.net/man/3/readdir_r
254 |   internal static func readdir_r(
255 |     dirp: DIR,
    |           `- error: cannot find type 'DIR' in scope
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:256:33: error: cannot find type 'dirent' in scope
254 |   internal static func readdir_r(
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
    |                                 `- error: cannot find type 'dirent' in scope
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
258 |   ) -> ReaddirResult {
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:257:55: error: cannot find type 'dirent' in scope
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
    |                                                       `- error: cannot find type 'dirent' in scope
258 |   ) -> ReaddirResult {
259 |     // The readdir_r() function returns 0 on success.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:285:39: error: cannot find type 'DIR' in scope
283 |
284 |   /// https://linux.die.net/man/3/closedir
285 |   internal static func closedir(dirp: DIR) -> ClosedirResult {
    |                                       `- error: cannot find type 'DIR' in scope
286 |     // The closedir() function returns 0 on success. On error, -1 is returned,
287 |     // and errno is set appropriately.
[81/136] Compiling BigInt BigInt+InitFromBinaryFloatingPoint.swift
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:474:21: error: cannot find 'STDIN_FILENO' in scope
472 |
473 |   public static let standardInput = FileDescriptor(
474 |     fileDescriptor: STDIN_FILENO,
    |                     `- error: cannot find 'STDIN_FILENO' in scope
475 |     closeOnDealloc: false
476 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:479:21: error: cannot find 'STDOUT_FILENO' in scope
477 |
478 |   public static let standardOutput = FileDescriptor(
479 |     fileDescriptor: STDOUT_FILENO,
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
480 |     closeOnDealloc: false
481 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:484:21: error: cannot find 'STDERR_FILENO' in scope
482 |
483 |   public static let standardError = FileDescriptor(
484 |     fileDescriptor: STDERR_FILENO,
    |                     `- error: cannot find 'STDERR_FILENO' in scope
485 |     closeOnDealloc: false
486 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:57:10: error: cannot find 'open' in scope
 55 | private func _CFOpenFile(_ path: UnsafePointer<CChar>,
 56 |                          _ opts: Int32) -> Int32 {
 57 |   return open(path, opts, 0)
    |          `- error: cannot find 'open' in scope
 58 | }
 59 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:63:10: error: cannot find 'open' in scope
 61 |                                  _ opts: Int32,
 62 |                                  _ mode: mode_t) -> Int32 {
 63 |   return open(path, opts, mode)
    |          `- error: cannot find 'open' in scope
 64 | }
 65 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:216:21: error: cannot find '_read' in scope
214 |       }
215 |
216 |       let amtRead = _read(self._fd, dynamicBuffer.advanced(by: total), amountToRead)
    |                     `- error: cannot find '_read' in scope
217 |       if amtRead < 0 {
218 |         free(dynamicBuffer)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:219:33: error: cannot find 'errno' in scope
217 |       if amtRead < 0 {
218 |         free(dynamicBuffer)
219 |         throw _NSErrorWithErrno(errno, reading: true)
    |                                 `- error: cannot find 'errno' in scope
220 |       }
221 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:246:19: error: cannot find 'stat' in scope
244 |     }
245 |
246 |     var statbuf = stat()
    |                   `- error: cannot find 'stat' in scope
247 |     if fstat(self._fd, &statbuf) < 0 {
248 |       throw _NSErrorWithErrno(errno, reading: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:247:8: error: cannot find 'fstat' in scope
245 |
246 |     var statbuf = stat()
247 |     if fstat(self._fd, &statbuf) < 0 {
    |        `- error: cannot find 'fstat' in scope
248 |       throw _NSErrorWithErrno(errno, reading: true)
249 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:248:31: error: cannot find 'errno' in scope
246 |     var statbuf = stat()
247 |     if fstat(self._fd, &statbuf) < 0 {
248 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
249 |     }
250 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:252:26: error: cannot find 'S_IFMT' in scope
250 |
251 |     let readBlockSize: Int
252 |     if statbuf.st_mode & S_IFMT == S_IFREG {
    |                          `- error: cannot find 'S_IFMT' in scope
253 |       if statbuf.st_blksize > 0 {
254 |         readBlockSize = Int(clamping: statbuf.st_blksize)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:252:36: error: cannot find 'S_IFREG' in scope
250 |
251 |     let readBlockSize: Int
252 |     if statbuf.st_mode & S_IFMT == S_IFREG {
    |                                    `- error: cannot find 'S_IFREG' in scope
253 |       if statbuf.st_blksize > 0 {
254 |         readBlockSize = Int(clamping: statbuf.st_blksize)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:268:19: error: cannot find '_read' in scope
266 |   private func _readBytes(into buffer: UnsafeMutablePointer<UInt8>,
267 |                           length: Int) throws -> Int {
268 |     let amtRead = _read(self._fd, buffer, length)
    |                   `- error: cannot find '_read' in scope
269 |     if amtRead < 0 {
270 |       throw _NSErrorWithErrno(errno, reading: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:270:31: error: cannot find 'errno' in scope
268 |     let amtRead = _read(self._fd, buffer, length)
269 |     if amtRead < 0 {
270 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
271 |     }
272 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:284:24: error: cannot find '_write' in scope
282 |
283 |       repeat {
284 |         bytesWritten = _write(self._fd,
    |                        `- error: cannot find '_write' in scope
285 |                               buf.advanced(by: length - bytesRemaining),
286 |                               bytesRemaining)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:287:35: error: cannot find 'errno' in scope
285 |                               buf.advanced(by: length - bytesRemaining),
286 |                               bytesRemaining)
287 |       } while bytesWritten < 0 && errno == EINTR
    |                                   `- error: cannot find 'errno' in scope
288 |
289 |       if bytesWritten <= 0 {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:290:33: error: cannot find 'errno' in scope
288 |
289 |       if bytesWritten <= 0 {
290 |         throw _NSErrorWithErrno(errno, reading: false, path: nil)
    |                                 `- error: cannot find 'errno' in scope
291 |       }
292 |       bytesRemaining -= bytesWritten
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:339:23: error: cannot find '_read' in scope
337 |       // Hmm… I'm not sure that this is the best way
338 |       let requestedReadCount = 1
339 |       let readCount = _read(self._fd, bufferPtr, requestedReadCount)
    |                       `- error: cannot find '_read' in scope
340 |
341 |       if readCount < 0 {
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:342:33: error: cannot find 'errno' in scope
340 |
341 |       if readCount < 0 {
342 |         throw _NSErrorWithErrno(errno, reading: true)
    |                                 `- error: cannot find 'errno' in scope
343 |       }
344 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:399:18: error: cannot find 'lseek' in scope
397 |     guard self._isValid else { throw Error.fileReadUnknown }
398 |
399 |     let offset = lseek(self._fd, 0, SEEK_CUR)
    |                  `- error: cannot find 'lseek' in scope
400 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
401 |     return UInt64(offset)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:400:54: error: cannot find 'errno' in scope
398 |
399 |     let offset = lseek(self._fd, 0, SEEK_CUR)
400 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
    |                                                      `- error: cannot find 'errno' in scope
401 |     return UInt64(offset)
402 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:412:18: error: cannot find 'lseek' in scope
410 |     guard self._isValid else { throw Error.fileReadUnknown }
411 |
412 |     let offset = lseek(self._fd, 0, SEEK_END)
    |                  `- error: cannot find 'lseek' in scope
413 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
414 |     return UInt64(offset)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:413:54: error: cannot find 'errno' in scope
411 |
412 |     let offset = lseek(self._fd, 0, SEEK_END)
413 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
    |                                                      `- error: cannot find 'errno' in scope
414 |     return UInt64(offset)
415 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:422:11: error: cannot find 'lseek' in scope
420 |     guard self._isValid else { throw Error.fileReadUnknown }
421 |
422 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
    |           `- error: cannot find 'lseek' in scope
423 |       throw _NSErrorWithErrno(errno, reading: true)
424 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:423:31: error: cannot find 'errno' in scope
421 |
422 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
423 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
424 |     }
425 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:432:11: error: cannot find 'lseek' in scope
430 |     guard self._isValid else { throw Error.fileWriteUnknown }
431 |
432 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
    |           `- error: cannot find 'lseek' in scope
433 |       throw _NSErrorWithErrno(errno, reading: false)
434 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:433:31: error: cannot find 'errno' in scope
431 |
432 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
433 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
434 |     }
435 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:436:11: error: cannot find 'ftruncate' in scope
434 |     }
435 |
436 |     guard ftruncate(self._fd, off_t(offset)) >= 0 else {
    |           `- error: cannot find 'ftruncate' in scope
437 |       throw _NSErrorWithErrno(errno, reading: false)
438 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:437:31: error: cannot find 'errno' in scope
435 |
436 |     guard ftruncate(self._fd, off_t(offset)) >= 0 else {
437 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
438 |     }
439 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:446:11: error: cannot find 'fsync' in scope
444 |     guard self !== FileDescriptor._nulldeviceFileDescriptor else { return }
445 |
446 |     guard fsync(self._fd) >= 0 else {
    |           `- error: cannot find 'fsync' in scope
447 |       throw _NSErrorWithErrno(errno, reading: false)
448 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:447:31: error: cannot find 'errno' in scope
445 |
446 |     guard fsync(self._fd) >= 0 else {
447 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
448 |     }
449 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:461:11: error: cannot find '_close' in scope
459 |     guard self._isValid else { return }
460 |
461 |     guard _close(self._fd) >= 0 else {
    |           `- error: cannot find '_close' in scope
462 |       throw _NSErrorWithErrno(errno, reading: true)
463 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:462:31: error: cannot find 'errno' in scope
460 |
461 |     guard _close(self._fd) >= 0 else {
462 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
463 |     }
464 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:517:34: error: cannot find 'O_RDONLY' in scope
515 |
516 |   public convenience init?(forReadingAtPath path: String) {
517 |     self.init(path: path, flags: O_RDONLY, createMode: 0)
    |                                  `- error: cannot find 'O_RDONLY' in scope
518 |   }
519 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:521:34: error: cannot find 'O_WRONLY' in scope
519 |
520 |   public convenience init?(forWritingAtPath path: String) {
521 |     self.init(path: path, flags: O_WRONLY, createMode: 0)
    |                                  `- error: cannot find 'O_WRONLY' in scope
522 |   }
523 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:525:34: error: cannot find 'O_RDWR' in scope
523 |
524 |   public convenience init?(forUpdatingAtPath path: String) {
525 |     self.init(path: path, flags: O_RDWR, createMode: 0)
    |                                  `- error: cannot find 'O_RDWR' in scope
526 |   }
527 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:537:31: error: cannot find 'errno' in scope
535 |
536 |     if fd < 0 {
537 |       throw _NSErrorWithErrno(errno, reading: reading, url: url)
    |                               `- error: cannot find 'errno' in scope
538 |     }
539 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:545:66: error: cannot find 'O_RDONLY' in scope
543 |   public convenience init(forReadingFrom url: URL) throws {
544 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
545 |                                                           flags: O_RDONLY,
    |                                                                  `- error: cannot find 'O_RDONLY' in scope
546 |                                                           reading: true)
547 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:552:66: error: cannot find 'O_WRONLY' in scope
550 |   public convenience init(forWritingTo url: URL) throws {
551 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
552 |                                                           flags: O_WRONLY,
    |                                                                  `- error: cannot find 'O_WRONLY' in scope
553 |                                                           reading: false)
554 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:559:66: error: cannot find 'O_RDWR' in scope
557 |   public convenience init(forUpdating url: URL) throws {
558 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
559 |                                                           flags: O_RDWR,
    |                                                                  `- error: cannot find 'O_RDWR' in scope
560 |                                                           reading: false)
561 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
[82/136] Compiling BigInt BigInt+InitFromPythonString.swift
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:474:21: error: cannot find 'STDIN_FILENO' in scope
472 |
473 |   public static let standardInput = FileDescriptor(
474 |     fileDescriptor: STDIN_FILENO,
    |                     `- error: cannot find 'STDIN_FILENO' in scope
475 |     closeOnDealloc: false
476 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:479:21: error: cannot find 'STDOUT_FILENO' in scope
477 |
478 |   public static let standardOutput = FileDescriptor(
479 |     fileDescriptor: STDOUT_FILENO,
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
480 |     closeOnDealloc: false
481 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:484:21: error: cannot find 'STDERR_FILENO' in scope
482 |
483 |   public static let standardError = FileDescriptor(
484 |     fileDescriptor: STDERR_FILENO,
    |                     `- error: cannot find 'STDERR_FILENO' in scope
485 |     closeOnDealloc: false
486 |   )
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:57:10: error: cannot find 'open' in scope
 55 | private func _CFOpenFile(_ path: UnsafePointer<CChar>,
 56 |                          _ opts: Int32) -> Int32 {
 57 |   return open(path, opts, 0)
    |          `- error: cannot find 'open' in scope
 58 | }
 59 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:63:10: error: cannot find 'open' in scope
 61 |                                  _ opts: Int32,
 62 |                                  _ mode: mode_t) -> Int32 {
 63 |   return open(path, opts, mode)
    |          `- error: cannot find 'open' in scope
 64 | }
 65 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:216:21: error: cannot find '_read' in scope
214 |       }
215 |
216 |       let amtRead = _read(self._fd, dynamicBuffer.advanced(by: total), amountToRead)
    |                     `- error: cannot find '_read' in scope
217 |       if amtRead < 0 {
218 |         free(dynamicBuffer)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:219:33: error: cannot find 'errno' in scope
217 |       if amtRead < 0 {
218 |         free(dynamicBuffer)
219 |         throw _NSErrorWithErrno(errno, reading: true)
    |                                 `- error: cannot find 'errno' in scope
220 |       }
221 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:246:19: error: cannot find 'stat' in scope
244 |     }
245 |
246 |     var statbuf = stat()
    |                   `- error: cannot find 'stat' in scope
247 |     if fstat(self._fd, &statbuf) < 0 {
248 |       throw _NSErrorWithErrno(errno, reading: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:247:8: error: cannot find 'fstat' in scope
245 |
246 |     var statbuf = stat()
247 |     if fstat(self._fd, &statbuf) < 0 {
    |        `- error: cannot find 'fstat' in scope
248 |       throw _NSErrorWithErrno(errno, reading: true)
249 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:248:31: error: cannot find 'errno' in scope
246 |     var statbuf = stat()
247 |     if fstat(self._fd, &statbuf) < 0 {
248 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
249 |     }
250 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:252:26: error: cannot find 'S_IFMT' in scope
250 |
251 |     let readBlockSize: Int
252 |     if statbuf.st_mode & S_IFMT == S_IFREG {
    |                          `- error: cannot find 'S_IFMT' in scope
253 |       if statbuf.st_blksize > 0 {
254 |         readBlockSize = Int(clamping: statbuf.st_blksize)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:252:36: error: cannot find 'S_IFREG' in scope
250 |
251 |     let readBlockSize: Int
252 |     if statbuf.st_mode & S_IFMT == S_IFREG {
    |                                    `- error: cannot find 'S_IFREG' in scope
253 |       if statbuf.st_blksize > 0 {
254 |         readBlockSize = Int(clamping: statbuf.st_blksize)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:268:19: error: cannot find '_read' in scope
266 |   private func _readBytes(into buffer: UnsafeMutablePointer<UInt8>,
267 |                           length: Int) throws -> Int {
268 |     let amtRead = _read(self._fd, buffer, length)
    |                   `- error: cannot find '_read' in scope
269 |     if amtRead < 0 {
270 |       throw _NSErrorWithErrno(errno, reading: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:270:31: error: cannot find 'errno' in scope
268 |     let amtRead = _read(self._fd, buffer, length)
269 |     if amtRead < 0 {
270 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
271 |     }
272 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:284:24: error: cannot find '_write' in scope
282 |
283 |       repeat {
284 |         bytesWritten = _write(self._fd,
    |                        `- error: cannot find '_write' in scope
285 |                               buf.advanced(by: length - bytesRemaining),
286 |                               bytesRemaining)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:287:35: error: cannot find 'errno' in scope
285 |                               buf.advanced(by: length - bytesRemaining),
286 |                               bytesRemaining)
287 |       } while bytesWritten < 0 && errno == EINTR
    |                                   `- error: cannot find 'errno' in scope
288 |
289 |       if bytesWritten <= 0 {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:290:33: error: cannot find 'errno' in scope
288 |
289 |       if bytesWritten <= 0 {
290 |         throw _NSErrorWithErrno(errno, reading: false, path: nil)
    |                                 `- error: cannot find 'errno' in scope
291 |       }
292 |       bytesRemaining -= bytesWritten
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:339:23: error: cannot find '_read' in scope
337 |       // Hmm… I'm not sure that this is the best way
338 |       let requestedReadCount = 1
339 |       let readCount = _read(self._fd, bufferPtr, requestedReadCount)
    |                       `- error: cannot find '_read' in scope
340 |
341 |       if readCount < 0 {
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:342:33: error: cannot find 'errno' in scope
340 |
341 |       if readCount < 0 {
342 |         throw _NSErrorWithErrno(errno, reading: true)
    |                                 `- error: cannot find 'errno' in scope
343 |       }
344 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:399:18: error: cannot find 'lseek' in scope
397 |     guard self._isValid else { throw Error.fileReadUnknown }
398 |
399 |     let offset = lseek(self._fd, 0, SEEK_CUR)
    |                  `- error: cannot find 'lseek' in scope
400 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
401 |     return UInt64(offset)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:400:54: error: cannot find 'errno' in scope
398 |
399 |     let offset = lseek(self._fd, 0, SEEK_CUR)
400 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
    |                                                      `- error: cannot find 'errno' in scope
401 |     return UInt64(offset)
402 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:412:18: error: cannot find 'lseek' in scope
410 |     guard self._isValid else { throw Error.fileReadUnknown }
411 |
412 |     let offset = lseek(self._fd, 0, SEEK_END)
    |                  `- error: cannot find 'lseek' in scope
413 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
414 |     return UInt64(offset)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:413:54: error: cannot find 'errno' in scope
411 |
412 |     let offset = lseek(self._fd, 0, SEEK_END)
413 |     guard offset >= 0 else { throw _NSErrorWithErrno(errno, reading: true) }
    |                                                      `- error: cannot find 'errno' in scope
414 |     return UInt64(offset)
415 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:422:11: error: cannot find 'lseek' in scope
420 |     guard self._isValid else { throw Error.fileReadUnknown }
421 |
422 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
    |           `- error: cannot find 'lseek' in scope
423 |       throw _NSErrorWithErrno(errno, reading: true)
424 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:423:31: error: cannot find 'errno' in scope
421 |
422 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
423 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
424 |     }
425 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:432:11: error: cannot find 'lseek' in scope
430 |     guard self._isValid else { throw Error.fileWriteUnknown }
431 |
432 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
    |           `- error: cannot find 'lseek' in scope
433 |       throw _NSErrorWithErrno(errno, reading: false)
434 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:433:31: error: cannot find 'errno' in scope
431 |
432 |     guard lseek(self._fd, off_t(offset), SEEK_SET) >= 0 else {
433 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
434 |     }
435 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:436:11: error: cannot find 'ftruncate' in scope
434 |     }
435 |
436 |     guard ftruncate(self._fd, off_t(offset)) >= 0 else {
    |           `- error: cannot find 'ftruncate' in scope
437 |       throw _NSErrorWithErrno(errno, reading: false)
438 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:437:31: error: cannot find 'errno' in scope
435 |
436 |     guard ftruncate(self._fd, off_t(offset)) >= 0 else {
437 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
438 |     }
439 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:446:11: error: cannot find 'fsync' in scope
444 |     guard self !== FileDescriptor._nulldeviceFileDescriptor else { return }
445 |
446 |     guard fsync(self._fd) >= 0 else {
    |           `- error: cannot find 'fsync' in scope
447 |       throw _NSErrorWithErrno(errno, reading: false)
448 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:447:31: error: cannot find 'errno' in scope
445 |
446 |     guard fsync(self._fd) >= 0 else {
447 |       throw _NSErrorWithErrno(errno, reading: false)
    |                               `- error: cannot find 'errno' in scope
448 |     }
449 |   }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:461:11: error: cannot find '_close' in scope
459 |     guard self._isValid else { return }
460 |
461 |     guard _close(self._fd) >= 0 else {
    |           `- error: cannot find '_close' in scope
462 |       throw _NSErrorWithErrno(errno, reading: true)
463 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:462:31: error: cannot find 'errno' in scope
460 |
461 |     guard _close(self._fd) >= 0 else {
462 |       throw _NSErrorWithErrno(errno, reading: true)
    |                               `- error: cannot find 'errno' in scope
463 |     }
464 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:517:34: error: cannot find 'O_RDONLY' in scope
515 |
516 |   public convenience init?(forReadingAtPath path: String) {
517 |     self.init(path: path, flags: O_RDONLY, createMode: 0)
    |                                  `- error: cannot find 'O_RDONLY' in scope
518 |   }
519 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:521:34: error: cannot find 'O_WRONLY' in scope
519 |
520 |   public convenience init?(forWritingAtPath path: String) {
521 |     self.init(path: path, flags: O_WRONLY, createMode: 0)
    |                                  `- error: cannot find 'O_WRONLY' in scope
522 |   }
523 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:525:34: error: cannot find 'O_RDWR' in scope
523 |
524 |   public convenience init?(forUpdatingAtPath path: String) {
525 |     self.init(path: path, flags: O_RDWR, createMode: 0)
    |                                  `- error: cannot find 'O_RDWR' in scope
526 |   }
527 |
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:537:31: error: cannot find 'errno' in scope
535 |
536 |     if fd < 0 {
537 |       throw _NSErrorWithErrno(errno, reading: reading, url: url)
    |                               `- error: cannot find 'errno' in scope
538 |     }
539 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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/FileSystem/FileDescriptor.swift:545:66: error: cannot find 'O_RDONLY' in scope
543 |   public convenience init(forReadingFrom url: URL) throws {
544 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
545 |                                                           flags: O_RDONLY,
    |                                                                  `- error: cannot find 'O_RDONLY' in scope
546 |                                                           reading: true)
547 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:552:66: error: cannot find 'O_WRONLY' in scope
550 |   public convenience init(forWritingTo url: URL) throws {
551 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
552 |                                                           flags: O_WRONLY,
    |                                                                  `- error: cannot find 'O_WRONLY' in scope
553 |                                                           reading: false)
554 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
/host/spi-builder-workspace/Sources/FileSystem/FileDescriptor.swift:559:66: error: cannot find 'O_RDWR' in scope
557 |   public convenience init(forUpdating url: URL) throws {
558 |     let fd = try FileDescriptor._openFileDescriptorForURL(url,
559 |                                                           flags: O_RDWR,
    |                                                                  `- error: cannot find 'O_RDWR' in scope
560 |                                                           reading: false)
561 |     self.init(fileDescriptor: fd, closeOnDealloc: true)
[83/136] Compiling BigInt BigIntHeap+Add.swift
[84/136] Compiling BigInt BigIntHeap+And+Or+Xor.swift
[85/136] Compiling BigInt BigIntHeap+Div+Rem.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:83:38: error: cannot find type 'DIR' in scope
 81 |   }
 82 |
 83 |   private func readdirAndClose(dirp: DIR) -> ReaddirResult {
    |                                      `- error: cannot find type 'DIR' in scope
 84 |     var result = [Filename]()
 85 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:117:37: error: cannot find type 'dirent' in scope
115 |   }
116 |
117 |   private func getName(entry: inout dirent) -> String {
    |                                     `- error: cannot find type 'dirent' in scope
118 |     // From 'https://man7.org/linux/man-pages/man0/dirent.h.0p.html':
119 |     // The array d_name is of unspecified size, but shall contain a
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:188:16: error: cannot find type 'DIR' in scope
186 |
187 |   internal enum OpendirResult {
188 |     case value(DIR)
    |                `- error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:77:34: error: incorrect argument label in call (have 'dirp:', expected 'opendirResult:')
 75 |     switch opendirResult {
 76 |     case let .value(dirp):
 77 |       return self.readdirAndClose(dirp: dirp)
    |                                  `- error: incorrect argument label in call (have 'dirp:', expected 'opendirResult:')
 78 |     case let .errno(err):
 79 |       return ReaddirResult(err: err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:243:42: error: cannot find type 'dirent' in scope
241 |   // MARK: - readdir_r
242 |
243 |   internal static func createDirent() -> dirent {
    |                                          `- error: cannot find type 'dirent' in scope
244 |     return dirent()
245 |   }
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:87:40: error: cannot find type 'dirent' in scope
 85 |
 86 |     var entry = LibC.createDirent()
 87 |     var nilOnEnd: UnsafeMutablePointer<dirent>?
    |                                        `- error: cannot find type 'dirent' in scope
 88 |
 89 |     var hasNextEntry = true
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:255:11: error: cannot find type 'DIR' in scope
253 |   /// https://linux.die.net/man/3/readdir_r
254 |   internal static func readdir_r(
255 |     dirp: DIR,
    |           `- error: cannot find type 'DIR' in scope
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:256:33: error: cannot find type 'dirent' in scope
254 |   internal static func readdir_r(
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
    |                                 `- error: cannot find type 'dirent' in scope
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
258 |   ) -> ReaddirResult {
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:257:55: error: cannot find type 'dirent' in scope
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
    |                                                       `- error: cannot find type 'dirent' in scope
258 |   ) -> ReaddirResult {
259 |     // The readdir_r() function returns 0 on success.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:285:39: error: cannot find type 'DIR' in scope
283 |
284 |   /// https://linux.die.net/man/3/closedir
285 |   internal static func closedir(dirp: DIR) -> ClosedirResult {
    |                                       `- error: cannot find type 'DIR' in scope
286 |     // The closedir() function returns 0 on success. On error, -1 is returned,
287 |     // and errno is set appropriately.
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:63:32: error: no type named 'stat' in module 'Foundation'
 61 |   }
 62 |
 63 |   public init(stat: Foundation.stat) {
    |                                `- error: no type named 'stat' in module 'Foundation'
 64 |     self.st_mode = stat.st_mode
 65 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:83:53: error: cannot find type 'stat' in scope
 81 |     case error(errno: Int32)
 82 |
 83 |     fileprivate init(result: LibC.StatResult, data: stat) {
    |                                                     `- error: cannot find type 'stat' in scope
 84 |       switch result {
 85 |       case .ok:
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:46:27: error: cannot find 'S_IFMT' in scope
 44 |   public var type: EntryType {
 45 |     // https://www.gnu.org/software/libc/manual/html_node/Testing-File-Type.html
 46 |     switch self.st_mode & S_IFMT {
    |                           `- error: cannot find 'S_IFMT' in scope
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:47:10: error: cannot find 'S_IFREG' in scope
 45 |     // https://www.gnu.org/software/libc/manual/html_node/Testing-File-Type.html
 46 |     switch self.st_mode & S_IFMT {
 47 |     case S_IFREG: return .regularFile
    |          `- error: cannot find 'S_IFREG' in scope
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:48:10: error: cannot find 'S_IFDIR' in scope
 46 |     switch self.st_mode & S_IFMT {
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
    |          `- error: cannot find 'S_IFDIR' in scope
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:49:10: error: cannot find 'S_IFCHR' in scope
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
    |          `- error: cannot find 'S_IFCHR' in scope
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:50:10: error: cannot find 'S_IFBLK' in scope
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
    |          `- error: cannot find 'S_IFBLK' in scope
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:51:10: error: cannot find 'S_IFIFO' in scope
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
    |          `- error: cannot find 'S_IFIFO' in scope
 52 |     case S_IFLNK: return .symbolicLink
 53 |     case S_IFSOCK: return .socket
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:52:10: error: cannot find 'S_IFLNK' in scope
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
    |          `- error: cannot find 'S_IFLNK' in scope
 53 |     case S_IFSOCK: return .socket
 54 |     default: return .unknown
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:53:10: error: cannot find 'S_IFSOCK' in scope
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
 53 |     case S_IFSOCK: return .socket
    |          `- error: cannot find 'S_IFSOCK' in scope
 54 |     default: return .unknown
 55 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:86:28: error: extra argument 'stat' in call
 84 |       switch result {
 85 |       case .ok:
 86 |         let s = Stat(stat: data)
    |                            `- error: extra argument 'stat' in call
 87 |         self = .value(s)
 88 |       case .errno(let err):
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:86:21: error: missing arguments for parameters 'st_mode', 'st_mtimespec' in call
 56 |   }
 57 |
 58 |   public init(st_mode: mode_t, st_mtimespec: timespec) {
    |          `- note: 'init(st_mode:st_mtimespec:)' declared here
 59 |     self.st_mode = st_mode
 60 |     self.st_mtimespec = st_mtimespec
    :
 84 |       switch result {
 85 |       case .ok:
 86 |         let s = Stat(stat: data)
    |                     `- error: missing arguments for parameters 'st_mode', 'st_mtimespec' in call
 87 |         self = .value(s)
 88 |       case .errno(let err):
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:147:40: error: cannot find type 'stat' in scope
145 |   // MARK: - stat
146 |
147 |   internal static func createStat() -> stat {
    |                                        `- error: cannot find type 'stat' in scope
148 |     return Foundation.stat()
149 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:173:56: error: cannot find type 'stat' in scope
171 |   /// https://linux.die.net/man/2/fstat
172 |   internal static func fstat(fd: Int32,
173 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
174 |     let returnValue = Foundation.fstat(fd, buf)
175 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:180:56: error: cannot find type 'stat' in scope
178 |   /// https://linux.die.net/man/2/lstat
179 |   internal static func lstat(path: UnsafePointer<Int8>!,
180 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
181 |     let returnValue = Foundation.lstat(path, buf)
182 |     return StatResult(returnValue: returnValue)
[86/136] Compiling BigInt BigIntHeap+Equatable+Comparable.swift
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:83:38: error: cannot find type 'DIR' in scope
 81 |   }
 82 |
 83 |   private func readdirAndClose(dirp: DIR) -> ReaddirResult {
    |                                      `- error: cannot find type 'DIR' in scope
 84 |     var result = [Filename]()
 85 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:117:37: error: cannot find type 'dirent' in scope
115 |   }
116 |
117 |   private func getName(entry: inout dirent) -> String {
    |                                     `- error: cannot find type 'dirent' in scope
118 |     // From 'https://man7.org/linux/man-pages/man0/dirent.h.0p.html':
119 |     // The array d_name is of unspecified size, but shall contain a
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:188:16: error: cannot find type 'DIR' in scope
186 |
187 |   internal enum OpendirResult {
188 |     case value(DIR)
    |                `- error: cannot find type 'DIR' in scope
189 |     case errno(Int32)
190 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:77:34: error: incorrect argument label in call (have 'dirp:', expected 'opendirResult:')
 75 |     switch opendirResult {
 76 |     case let .value(dirp):
 77 |       return self.readdirAndClose(dirp: dirp)
    |                                  `- error: incorrect argument label in call (have 'dirp:', expected 'opendirResult:')
 78 |     case let .errno(err):
 79 |       return ReaddirResult(err: err)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:243:42: error: cannot find type 'dirent' in scope
241 |   // MARK: - readdir_r
242 |
243 |   internal static func createDirent() -> dirent {
    |                                          `- error: cannot find type 'dirent' in scope
244 |     return dirent()
245 |   }
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Readdir.swift:87:40: error: cannot find type 'dirent' in scope
 85 |
 86 |     var entry = LibC.createDirent()
 87 |     var nilOnEnd: UnsafeMutablePointer<dirent>?
    |                                        `- error: cannot find type 'dirent' in scope
 88 |
 89 |     var hasNextEntry = true
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:255:11: error: cannot find type 'DIR' in scope
253 |   /// https://linux.die.net/man/3/readdir_r
254 |   internal static func readdir_r(
255 |     dirp: DIR,
    |           `- error: cannot find type 'DIR' in scope
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:256:33: error: cannot find type 'dirent' in scope
254 |   internal static func readdir_r(
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
    |                                 `- error: cannot find type 'dirent' in scope
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
258 |   ) -> ReaddirResult {
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:257:55: error: cannot find type 'dirent' in scope
255 |     dirp: DIR,
256 |     entry: UnsafeMutablePointer<dirent>!,
257 |     result: UnsafeMutablePointer<UnsafeMutablePointer<dirent>?>!
    |                                                       `- error: cannot find type 'dirent' in scope
258 |   ) -> ReaddirResult {
259 |     // The readdir_r() function returns 0 on success.
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:285:39: error: cannot find type 'DIR' in scope
283 |
284 |   /// https://linux.die.net/man/3/closedir
285 |   internal static func closedir(dirp: DIR) -> ClosedirResult {
    |                                       `- error: cannot find type 'DIR' in scope
286 |     // The closedir() function returns 0 on success. On error, -1 is returned,
287 |     // and errno is set appropriately.
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:63:32: error: no type named 'stat' in module 'Foundation'
 61 |   }
 62 |
 63 |   public init(stat: Foundation.stat) {
    |                                `- error: no type named 'stat' in module 'Foundation'
 64 |     self.st_mode = stat.st_mode
 65 |
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:83:53: error: cannot find type 'stat' in scope
 81 |     case error(errno: Int32)
 82 |
 83 |     fileprivate init(result: LibC.StatResult, data: stat) {
    |                                                     `- error: cannot find type 'stat' in scope
 84 |       switch result {
 85 |       case .ok:
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:46:27: error: cannot find 'S_IFMT' in scope
 44 |   public var type: EntryType {
 45 |     // https://www.gnu.org/software/libc/manual/html_node/Testing-File-Type.html
 46 |     switch self.st_mode & S_IFMT {
    |                           `- error: cannot find 'S_IFMT' in scope
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:47:10: error: cannot find 'S_IFREG' in scope
 45 |     // https://www.gnu.org/software/libc/manual/html_node/Testing-File-Type.html
 46 |     switch self.st_mode & S_IFMT {
 47 |     case S_IFREG: return .regularFile
    |          `- error: cannot find 'S_IFREG' in scope
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:48:10: error: cannot find 'S_IFDIR' in scope
 46 |     switch self.st_mode & S_IFMT {
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
    |          `- error: cannot find 'S_IFDIR' in scope
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:49:10: error: cannot find 'S_IFCHR' in scope
 47 |     case S_IFREG: return .regularFile
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
    |          `- error: cannot find 'S_IFCHR' in scope
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:50:10: error: cannot find 'S_IFBLK' in scope
 48 |     case S_IFDIR: return .directory
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
    |          `- error: cannot find 'S_IFBLK' in scope
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:51:10: error: cannot find 'S_IFIFO' in scope
 49 |     case S_IFCHR: return .characterSpecial
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
    |          `- error: cannot find 'S_IFIFO' in scope
 52 |     case S_IFLNK: return .symbolicLink
 53 |     case S_IFSOCK: return .socket
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:52:10: error: cannot find 'S_IFLNK' in scope
 50 |     case S_IFBLK: return .blockSpecial
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
    |          `- error: cannot find 'S_IFLNK' in scope
 53 |     case S_IFSOCK: return .socket
 54 |     default: return .unknown
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:53:10: error: cannot find 'S_IFSOCK' in scope
 51 |     case S_IFIFO: return .fifo
 52 |     case S_IFLNK: return .symbolicLink
 53 |     case S_IFSOCK: return .socket
    |          `- error: cannot find 'S_IFSOCK' in scope
 54 |     default: return .unknown
 55 |     }
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:86:28: error: extra argument 'stat' in call
 84 |       switch result {
 85 |       case .ok:
 86 |         let s = Stat(stat: data)
    |                            `- error: extra argument 'stat' in call
 87 |         self = .value(s)
 88 |       case .errno(let err):
/host/spi-builder-workspace/Sources/FileSystem/FileSystem+Stat.swift:86:21: error: missing arguments for parameters 'st_mode', 'st_mtimespec' in call
 56 |   }
 57 |
 58 |   public init(st_mode: mode_t, st_mtimespec: timespec) {
    |          `- note: 'init(st_mode:st_mtimespec:)' declared here
 59 |     self.st_mode = st_mode
 60 |     self.st_mtimespec = st_mtimespec
    :
 84 |       switch result {
 85 |       case .ok:
 86 |         let s = Stat(stat: data)
    |                     `- error: missing arguments for parameters 'st_mode', 'st_mtimespec' in call
 87 |         self = .value(s)
 88 |       case .errno(let err):
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:147:40: error: cannot find type 'stat' in scope
145 |   // MARK: - stat
146 |
147 |   internal static func createStat() -> stat {
    |                                        `- error: cannot find type 'stat' in scope
148 |     return Foundation.stat()
149 |   }
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:173:56: error: cannot find type 'stat' in scope
171 |   /// https://linux.die.net/man/2/fstat
172 |   internal static func fstat(fd: Int32,
173 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
174 |     let returnValue = Foundation.fstat(fd, buf)
175 |     return StatResult(returnValue: returnValue)
/host/spi-builder-workspace/Sources/FileSystem/LibC.swift:180:56: error: cannot find type 'stat' in scope
178 |   /// https://linux.die.net/man/2/lstat
179 |   internal static func lstat(path: UnsafePointer<Int8>!,
180 |                              buf: UnsafeMutablePointer<stat>!) -> StatResult {
    |                                                        `- error: cannot find type 'stat' in scope
181 |     let returnValue = Foundation.lstat(path, buf)
182 |     return StatResult(returnValue: returnValue)
[87/136] Compiling UnicodeData UnicodeData+CaseMapping.swift
[88/136] Compiling UnicodeData UnicodeData+Record.swift
[88/136] Linking Elsa
BUILD FAILURE 6.1 android