Build Information
Failed to build swift-transformers, reference main (f6ca31
), with Swift 6.1 for Android on 13 Sep 2025 17:49:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-transformers.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/huggingface/swift-transformers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f6ca318 Workaround for tokens that start with Unicode BOM (#236)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
f6ca31803f3ad00a19c6b845d37d95694bd583a6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/huggingface/swift-transformers.git
https://github.com/huggingface/swift-transformers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "1.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "jinja",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "1.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnmai-dev/Jinja"
}
],
"manifest_display_name" : "swift-transformers",
"name" : "swift-transformers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Transformers",
"targets" : [
"Tokenizers",
"Generation",
"Models"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "transformers",
"targets" : [
"TransformersCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "hub-cli",
"targets" : [
"HubCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TransformersCLI",
"module_type" : "SwiftTarget",
"name" : "TransformersCLI",
"path" : "Sources/TransformersCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"transformers"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Models",
"Generation",
"Tokenizers"
],
"type" : "executable"
},
{
"c99name" : "TokenizersTests",
"module_type" : "SwiftTarget",
"name" : "TokenizersTests",
"path" : "Tests/TokenizersTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/basic_tokenized_questions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/bert_uncased_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/dev-v1.1.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/distilbert_cased_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/falcon_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/gemma_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/gpt2_encoded_tokens.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/llama_3.2_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/llama_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/question_tokens.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/t5_base_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenized_questions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/tokenizer_tests.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_large_v2_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Resources/whisper_tiny_en_encoded.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TokenizersTests/Vocabs/bert-vocab.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AddedTokensTests.swift",
"BertTokenizerTests.swift",
"ChatTemplateTests.swift",
"DecoderTests.swift",
"FactoryTests.swift",
"NormalizerTests.swift",
"PostProcessorTests.swift",
"PreTokenizerTests.swift",
"SplitTests.swift",
"SquadDataset.swift",
"TokenizerTests.swift",
"TrieTests.swift"
],
"target_dependencies" : [
"Tokenizers",
"Models",
"Hub"
],
"type" : "test"
},
{
"c99name" : "Tokenizers",
"module_type" : "SwiftTarget",
"name" : "Tokenizers",
"path" : "Sources/Tokenizers",
"product_dependencies" : [
"Jinja"
],
"product_memberships" : [
"Transformers",
"transformers"
],
"sources" : [
"BPETokenizer.swift",
"BertTokenizer.swift",
"ByteEncoder.swift",
"Decoder.swift",
"Normalizer.swift",
"PostProcessor.swift",
"PreTokenizer.swift",
"TokenLattice.swift",
"Tokenizer.swift",
"Trie.swift",
"UnigramTokenizer.swift",
"Utils.swift"
],
"target_dependencies" : [
"Hub"
],
"type" : "library"
},
{
"c99name" : "TensorUtilsTests",
"module_type" : "SwiftTarget",
"name" : "TensorUtilsTests",
"path" : "Tests/TensorUtilsTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/TensorUtilsTests/Resources/tensor-1d-int32.safetensors",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TensorUtilsTests/Resources/tensor-2d-float64.safetensors",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TensorUtilsTests/Resources/tensor-3d-float32.safetensors",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/TensorUtilsTests/Resources/tensor-4d-float32.safetensors",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"LogitsWarperTests.swift",
"TensorUtilsTests.swift",
"TestUtils.swift",
"WeightsTests.swift"
],
"target_dependencies" : [
"TensorUtils",
"Models",
"Hub"
],
"type" : "test"
},
{
"c99name" : "TensorUtils",
"module_type" : "SwiftTarget",
"name" : "TensorUtils",
"path" : "Sources/TensorUtils",
"product_memberships" : [
"Transformers",
"transformers"
],
"sources" : [
"LogitsWarper/LogitsProcessor.swift",
"LogitsWarper/LogitsWarper.swift",
"LogitsWarper/RepetitionPenaltyWarper.swift",
"LogitsWarper/TemperatureLogitsWarper.swift",
"LogitsWarper/TopKLogitsWarper.swift",
"LogitsWarper/TopPLogitsWarper.swift",
"MLMultiArray+Utils.swift",
"MLShapedArray+Utils.swift",
"Math.swift",
"Weights.swift"
],
"type" : "library"
},
{
"c99name" : "Models",
"module_type" : "SwiftTarget",
"name" : "Models",
"path" : "Sources/Models",
"product_memberships" : [
"Transformers",
"transformers"
],
"sources" : [
"LanguageModel.swift",
"LanguageModelTypes.swift"
],
"target_dependencies" : [
"Tokenizers",
"Generation",
"TensorUtils"
],
"type" : "library"
},
{
"c99name" : "HubTests",
"module_type" : "SwiftTarget",
"name" : "HubTests",
"path" : "Tests/HubTests",
"product_dependencies" : [
"Jinja"
],
"sources" : [
"ConfigTests.swift",
"DownloaderTests.swift",
"HubApiTests.swift",
"HubTests.swift"
],
"target_dependencies" : [
"Hub"
],
"type" : "test"
},
{
"c99name" : "HubCLI",
"module_type" : "SwiftTarget",
"name" : "HubCLI",
"path" : "Sources/HubCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"hub-cli"
],
"sources" : [
"HubCLI.swift"
],
"target_dependencies" : [
"Hub"
],
"type" : "executable"
},
{
"c99name" : "Hub",
"module_type" : "SwiftTarget",
"name" : "Hub",
"path" : "Sources/Hub",
"product_memberships" : [
"Transformers",
"transformers",
"hub-cli"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Hub/FallbackConfigs/gpt2_tokenizer_config.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Hub/FallbackConfigs/t5_tokenizer_config.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BOMDoubling.swift",
"BinaryDistinct.swift",
"Config.swift",
"Downloader.swift",
"Hub.swift",
"HubApi.swift"
],
"type" : "library"
},
{
"c99name" : "Generation",
"module_type" : "SwiftTarget",
"name" : "Generation",
"path" : "Sources/Generation",
"product_memberships" : [
"Transformers",
"transformers"
],
"sources" : [
"Generation.swift",
"GenerationConfig.swift"
],
"target_dependencies" : [
"Tokenizers",
"TensorUtils"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/572] Fetching jinja
[573/16598] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (0.28s)
[802/16026] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.83s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.3.0 (1.42s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (2.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.83s)
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.3.0
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.1
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[7/32] Copying gpt2_tokenizer_config.json
[7/32] Write sources
[14/32] Copying t5_tokenizer_config.json
[15/32] Write swift-version-24593BA9C3E375BF.txt
[17/66] Emitting module ArgumentParserToolInfo
[18/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/66] Compiling InternalCollectionsUtilities Debugging.swift
[20/67] Emitting module InternalCollectionsUtilities
[21/67] Compiling InternalCollectionsUtilities Descriptions.swift
[22/67] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/67] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[24/67] Compiling InternalCollectionsUtilities _SortedCollection.swift
[25/67] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/67] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/68] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/68] Compiling InternalCollectionsUtilities Integer rank.swift
[29/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/69] Wrapping AST for ArgumentParserToolInfo for debugging
[36/106] Wrapping AST for InternalCollectionsUtilities for debugging
[38/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[39/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[40/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[41/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[42/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[43/161] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[44/161] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[45/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[46/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[47/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[48/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[49/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[50/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[51/161] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[52/168] Compiling OrderedCollections OrderedDictionary.swift
[53/168] Compiling OrderedCollections OrderedSet+Codable.swift
[54/168] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/168] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/168] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/168] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/168] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[59/168] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/168] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/168] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/168] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/168] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/168] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[66/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[67/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[68/168] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[69/168] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[70/168] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[71/168] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[72/168] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[73/168] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[74/168] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[75/168] Compiling OrderedCollections OrderedDictionary+Values.swift
[76/168] Compiling OrderedCollections OrderedDictionary+Codable.swift
[77/168] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[78/168] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[79/168] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[80/168] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[81/168] Compiling OrderedCollections OrderedDictionary+Elements.swift
[82/168] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[83/168] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[84/168] Emitting module ArgumentParser
[91/173] Compiling OrderedCollections _HashTable+Bucket.swift
[92/173] Compiling OrderedCollections _HashTable+BucketIterator.swift
[93/173] Compiling OrderedCollections _HashTable+Constants.swift
[94/173] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[95/173] Compiling OrderedCollections _HashTable+Testing.swift
[96/173] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[97/173] Compiling OrderedCollections _HashTable.swift
[98/173] Compiling OrderedCollections _Hashtable+Header.swift
[114/173] Emitting module OrderedCollections
[115/173] 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) }
[116/173] 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) }
[117/173] 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) }
[118/173] 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) }
[119/173] 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) }
[120/173] Compiling OrderedCollections OrderedSet+Sendable.swift
[121/173] Compiling OrderedCollections OrderedSet+SubSequence.swift
[122/173] Compiling OrderedCollections OrderedSet+Testing.swift
[123/173] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[124/173] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[125/173] Compiling OrderedCollections OrderedSet.swift
[126/173] Compiling OrderedCollections _UnsafeBitset.swift
[132/174] Wrapping AST for OrderedCollections for debugging
[134/183] Compiling Jinja Ast.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[135/183] Compiling Jinja Environment.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[136/183] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[137/184] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[138/184] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[139/184] Compiling Jinja Template.swift
[140/184] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[141/185] Compiling Jinja Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[142/185] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[143/185] Compiling Hub BOMDoubling.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[144/185] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/185] Emitting module TensorUtils
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[148/185] Compiling Hub HubApi.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[149/185] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[150/185] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[151/185] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[152/185] Compiling Hub Config.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[153/185] Compiling Hub Hub.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/18] Write swift-version-24593BA9C3E375BF.txt
[3/52] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/53] Emitting module TensorUtils
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[5/53] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[6/53] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[7/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/54] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[9/54] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[10/54] Compiling InternalCollectionsUtilities Integer rank.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[11/54] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[12/54] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[13/54] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[14/54] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/54] Compiling InternalCollectionsUtilities Debugging.swift
[16/54] Compiling InternalCollectionsUtilities Descriptions.swift
[17/54] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/54] Compiling Hub BOMDoubling.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[19/54] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[20/54] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/54] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[22/54] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/54] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[26/54] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[27/54] Compiling InternalCollectionsUtilities _SortedCollection.swift
[28/54] Emitting module ArgumentParserToolInfo
[29/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[32/55] Emitting module InternalCollectionsUtilities
[33/55] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[34/55] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[36/56] Compiling Hub Hub.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[37/56] Compiling Hub Config.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[38/56] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[39/56] Compiling Hub HubApi.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
BUILD FAILURE 6.1 android