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 LocalLLMClient, reference 0.3.0 (c65a85), with Swift 6.1 for Android on 25 Jun 2025 22:47:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tattn/LocalLLMClient
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at c65a85a feat: add support for gemma3_4b_mlx model in LLMModel
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'bb16041caef45cd4348cd6f84906b5dfec7a1f6a'
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'Sources/LlamaClientExperimentalC/exclude/llama.cpp' (https://github.com/ggml-org/llama.cpp.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp'
Cloning into '/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
c65a85a0327ead54d66db2e40c186c1b0f820f14
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tattn/LocalLLMClient.git
https://github.com/tattn/LocalLLMClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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.git
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
[394/15773] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (0.80s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (1.31s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.45s)
Fetching https://github.com/apple/swift-collections.git
[1/16715] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.62s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/27] Write sources
[1/27] Copying json.gbnf
[1/27] Write sources
[11/27] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[12/27] Compiling LocalLLMClientLlamaC mtmd.cpp
[13/27] Write swift-version-24593BA9C3E375BF.txt
[14/50] Compiling LocalLLMClientLlamaC clip.cpp
[15/50] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[17/50] Emitting module ArgumentParserToolInfo
[18/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/51] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/52] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/52] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/52] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/52] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/52] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/52] Compiling InternalCollectionsUtilities Debugging.swift
[29/52] Compiling InternalCollectionsUtilities Descriptions.swift
[30/52] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/52] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/52] Compiling InternalCollectionsUtilities Integer rank.swift
[33/52] Emitting module InternalCollectionsUtilities
[33/52] Wrapping AST for ArgumentParserToolInfo for debugging
[35/52] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/90] Wrapping AST for InternalCollectionsUtilities for debugging
[38/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[39/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[40/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[41/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[42/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[43/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[44/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[45/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[46/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[47/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[48/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[49/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[50/145] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[51/145] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[52/152] Compiling OrderedCollections OrderedDictionary.swift
[53/152] Compiling OrderedCollections OrderedSet+Codable.swift
[54/152] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/152] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/152] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/152] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/152] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[59/152] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/152] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[61/152] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[62/152] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[63/152] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[64/152] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[65/152] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[66/152] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[67/152] Compiling OrderedCollections OrderedDictionary+Values.swift
[68/152] Compiling OrderedCollections OrderedDictionary+Codable.swift
[69/152] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[70/152] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[71/152] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[72/152] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[73/152] Compiling OrderedCollections OrderedDictionary+Elements.swift
[74/152] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[75/152] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[76/152] Compiling OrderedCollections OrderedSet+Initializers.swift
[77/152] Compiling OrderedCollections OrderedSet+Insertions.swift
[78/152] Compiling OrderedCollections OrderedSet+Invariants.swift
[79/152] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[80/152] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[81/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[82/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[83/152] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[84/152] Compiling OrderedCollections _HashTable+Bucket.swift
[85/152] Compiling OrderedCollections _HashTable+BucketIterator.swift
[86/152] Compiling OrderedCollections _HashTable+Constants.swift
[87/152] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[88/152] Compiling OrderedCollections _HashTable+Testing.swift
[89/152] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[90/152] Compiling OrderedCollections _HashTable.swift
[91/152] Compiling OrderedCollections _Hashtable+Header.swift
[92/152] Compiling OrderedCollections OrderedSet+Sendable.swift
[93/152] Compiling OrderedCollections OrderedSet+SubSequence.swift
[94/152] Compiling OrderedCollections OrderedSet+Testing.swift
[95/152] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[96/152] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[97/152] Compiling OrderedCollections OrderedSet.swift
[98/152] Compiling OrderedCollections _UnsafeBitset.swift
[99/152] Emitting module OrderedCollections
[100/153] Wrapping AST for OrderedCollections for debugging
[102/162] Emitting module ArgumentParser
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/167] Emitting module LocalLLMClientUtility
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[104/167] Compiling Jinja Lexer.swift
[105/167] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[106/168] Compiling LocalLLMClientUtility Globs.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[107/168] Compiling LocalLLMClientUtility Downloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[108/168] Compiling LocalLLMClientUtility FileDownloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[114/168] Compiling Jinja Parser.swift
[115/168] Compiling LocalLLMClientUtility Lock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[116/168] Compiling LocalLLMClientUtility URL+.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[117/168] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
 44 | #else
 45 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 46 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 47 |     let shellParts = String(cString: shellVar).split(separator: "/")
 48 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
 64 |   /// The code for successful exit.
 65 |   static var exitCodeSuccess: Int32 {
 66 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 67 |   }
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
 69 |   /// The code for exit with a general failure.
 70 |   static var exitCodeFailure: Int32 {
 71 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 72 |   }
 73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
 79 |     return EXIT_FAILURE
 80 | #else
 81 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 82 | #endif
 83 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
112 |     }
113 |   }
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/Utilities/Platform.swift:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 |     if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
    |                       `- error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
170 |     if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
    |                        `- error: cannot find 'getenv' in scope
171 |       height = linesVal
172 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
[118/168] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
 44 | #else
 45 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 46 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 47 |     let shellParts = String(cString: shellVar).split(separator: "/")
 48 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
 64 |   /// The code for successful exit.
 65 |   static var exitCodeSuccess: Int32 {
 66 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 67 |   }
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
 69 |   /// The code for exit with a general failure.
 70 |   static var exitCodeFailure: Int32 {
 71 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 72 |   }
 73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
 79 |     return EXIT_FAILURE
 80 | #else
 81 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 82 | #endif
 83 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
112 |     }
113 |   }
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/Utilities/Platform.swift:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 |     if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
    |                       `- error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
170 |     if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
    |                        `- error: cannot find 'getenv' in scope
171 |       height = linesVal
172 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
[119/168] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
 44 | #else
 45 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 46 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 47 |     let shellParts = String(cString: shellVar).split(separator: "/")
 48 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
 64 |   /// The code for successful exit.
 65 |   static var exitCodeSuccess: Int32 {
 66 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 67 |   }
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
 69 |   /// The code for exit with a general failure.
 70 |   static var exitCodeFailure: Int32 {
 71 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 72 |   }
 73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
 79 |     return EXIT_FAILURE
 80 | #else
 81 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 82 | #endif
 83 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
112 |     }
113 |   }
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/Utilities/Platform.swift:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 |     if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
    |                       `- error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
170 |     if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
    |                        `- error: cannot find 'getenv' in scope
171 |       height = linesVal
172 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
[120/168] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
 44 | #else
 45 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 46 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 47 |     let shellParts = String(cString: shellVar).split(separator: "/")
 48 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
 64 |   /// The code for successful exit.
 65 |   static var exitCodeSuccess: Int32 {
 66 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 67 |   }
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
 69 |   /// The code for exit with a general failure.
 70 |   static var exitCodeFailure: Int32 {
 71 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 72 |   }
 73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
 79 |     return EXIT_FAILURE
 80 | #else
 81 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 82 | #endif
 83 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
112 |     }
113 |   }
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/Utilities/Platform.swift:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 |     if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
    |                       `- error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
170 |     if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
    |                        `- error: cannot find 'getenv' in scope
171 |       height = linesVal
172 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
[121/168] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
 44 | #else
 45 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 46 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 47 |     let shellParts = String(cString: shellVar).split(separator: "/")
 48 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
 64 |   /// The code for successful exit.
 65 |   static var exitCodeSuccess: Int32 {
 66 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 67 |   }
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
 69 |   /// The code for exit with a general failure.
 70 |   static var exitCodeFailure: Int32 {
 71 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 72 |   }
 73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
 79 |     return EXIT_FAILURE
 80 | #else
 81 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 82 | #endif
 83 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
112 |     }
113 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 |   struct StandardError: TextOutputStream {
110 |     mutating func write(_ string: String) {
111 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
112 |     }
113 |   }
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/Utilities/Platform.swift:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 |     if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
    |                       `- error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 |       width = colsVal
169 |     }
170 |     if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
    |                        `- error: cannot find 'getenv' in scope
171 |       height = linesVal
172 |     }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 |     guard err == 0 else { return (width: nil, height: nil) }
[122/168] Emitting module Jinja
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/36] Compiling LocalLLMClientUtility URL+.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[4/36] Compiling LocalLLMClientUtility Lock.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[5/36] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/37] Compiling LocalLLMClientUtility Downloader.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/37] Compiling LocalLLMClientUtility Globs.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[8/37] Compiling LocalLLMClientUtility FileDownloader.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[9/37] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[10/37] Emitting module LocalLLMClientUtility
/host/spi-builder-workspace/Sources/LocalLLMClientUtility/Lock.swift:4:8: error: no such module 'Glibc'
 2 | import os
 3 | #else
 4 | import Glibc
   |        `- error: no such module 'Glibc'
 5 | #endif
 6 |
[11/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/37] Compiling InternalCollectionsUtilities Debugging.swift
[13/37] Compiling InternalCollectionsUtilities Descriptions.swift
[14/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[18/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/37] Emitting module InternalCollectionsUtilities
[21/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/37] Compiling InternalCollectionsUtilities Integer rank.swift
[23/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/38] Emitting module ArgumentParserToolInfo
[26/38] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 android