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 swift-transformers, reference 0.1.21 (c2f302), with Swift 6.2 (beta) for Android on 24 Jun 2025 08:28:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-transformers.git
Reference: 0.1.21
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
 * tag               0.1.21     -> FETCH_HEAD
HEAD is now at c2f302a Prefer `chat_template.jinja` (#205)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
c2f302a74cca59cbde683b1425ab43c05685515a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at 0.1.21
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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 (4.12s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.13s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (4.87s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.73s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.38s)
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-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/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/32] Write sources
[1/32] Copying t5_tokenizer_config.json
[1/32] Write sources
[14/32] Copying gpt2_tokenizer_config.json
[15/32] Write swift-version-8C5A4AE7A8CE2BA.txt
[17/65] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/66] 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 |
[19/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/66] Compiling TensorUtils LogitsProcessor.swift
[21/66] Compiling TensorUtils LogitsWarper.swift
[22/66] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/66] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/66] Compiling InternalCollectionsUtilities Descriptions.swift
[25/66] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/66] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/66] Compiling InternalCollectionsUtilities Debugging.swift
[31/66] Compiling TensorUtils RepetitionPenaltyWarper.swift
[32/66] Compiling TensorUtils TemperatureLogitsWarper.swift
[33/67] Wrapping AST for InternalCollectionsUtilities for debugging
[35/122] Emitting module ArgumentParserToolInfo
[36/122] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/123] Wrapping AST for ArgumentParserToolInfo for debugging
[39/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[40/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[41/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[42/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[43/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[44/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[45/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[46/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[47/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[48/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[49/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[50/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[51/160] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[52/160] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[53/167] Compiling ArgumentParser InputKey.swift
[54/167] Compiling ArgumentParser InputOrigin.swift
[55/167] Compiling ArgumentParser Name.swift
[56/167] Compiling ArgumentParser Parsed.swift
[57/167] Compiling ArgumentParser ParsedValues.swift
[58/167] Compiling ArgumentParser ParserError.swift
[59/167] Compiling ArgumentParser SplitArguments.swift
[60/167] Compiling ArgumentParser DumpHelpGenerator.swift
[61/167] Compiling ArgumentParser HelpCommand.swift
[62/167] Compiling ArgumentParser HelpGenerator.swift
[63/167] Compiling ArgumentParser MessageInfo.swift
[64/167] Compiling ArgumentParser UsageGenerator.swift
[65/167] Compiling OrderedCollections OrderedSet+Diffing.swift
[66/167] Compiling OrderedCollections OrderedSet+Equatable.swift
[67/167] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[68/167] Compiling OrderedCollections OrderedSet+Hashable.swift
[69/167] Compiling ArgumentParser ExpressibleByArgument.swift
[70/167] Compiling ArgumentParser ParsableArguments.swift
[71/167] Compiling ArgumentParser ParsableArgumentsValidation.swift
[72/167] Compiling ArgumentParser ParsableCommand.swift
[73/167] Compiling ArgumentParser ArgumentDecoder.swift
[74/167] Compiling ArgumentParser ArgumentDefinition.swift
[75/167] Compiling ArgumentParser ArgumentSet.swift
[76/167] Compiling ArgumentParser CommandParser.swift
[77/167] Compiling ArgumentParser Errors.swift
[78/167] Compiling ArgumentParser Flag.swift
[79/167] Compiling ArgumentParser NameSpecification.swift
[80/167] Compiling ArgumentParser Option.swift
[81/167] Compiling ArgumentParser OptionGroup.swift
[82/167] Compiling ArgumentParser AsyncParsableCommand.swift
[83/167] Compiling ArgumentParser CommandConfiguration.swift
[84/167] Compiling ArgumentParser EnumerableFlag.swift
[90/172] Emitting module ArgumentParser
[91/172] Compiling ArgumentParser ArgumentVisibility.swift
[92/172] Compiling ArgumentParser CompletionKind.swift
[96/172] 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) }
[97/172] 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) }
[98/172] 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) }
[99/172] 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) }
[100/172] 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) }
[101/172] Compiling ArgumentParser BashCompletionsGenerator.swift
[102/172] Compiling ArgumentParser CompletionsGenerator.swift
[103/172] Compiling ArgumentParser FishCompletionsGenerator.swift
[104/172] Compiling ArgumentParser ZshCompletionsGenerator.swift
[105/172] Compiling ArgumentParser Argument.swift
[106/172] Compiling ArgumentParser ArgumentHelp.swift
[107/172] Compiling OrderedCollections OrderedSet+Sendable.swift
[108/172] Compiling OrderedCollections OrderedSet+SubSequence.swift
[109/172] Compiling OrderedCollections OrderedSet+Testing.swift
[110/172] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[111/172] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[112/172] Compiling OrderedCollections OrderedSet.swift
[113/172] Compiling OrderedCollections _UnsafeBitset.swift
[122/172] Emitting module OrderedCollections
[123/182] Wrapping AST for OrderedCollections for debugging
[125/182] 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 |
[126/182] 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 |
[137/182] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/183] 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 |
[139/183] 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 |
[140/183] 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 |
[141/183] 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 |
[142/183] 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 |
[143/183] 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 |
[144/183] 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 |
/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 |
[147/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 |
[148/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 |
[149/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 |
[150/183] 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 |
[151/183] 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/183] Compiling Jinja Template.swift
BUILD FAILURE 6.2 android