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 main (79626a), with Swift 6.1 for Android on 5 Jun 2025 15:33:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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 79626a8 updating Jina to 1.2.0 as it correctly supports Granite model template (#207)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
79626a822e4e9170e0112d963163f50b82927160
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.2.0",
            "upper_bound" : "1.3.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",
        "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" : "PreTokenizerTests",
      "module_type" : "SwiftTarget",
      "name" : "PreTokenizerTests",
      "path" : "Tests/PreTokenizerTests",
      "sources" : [
        "PreTokenizerTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostProcessorTests",
      "module_type" : "SwiftTarget",
      "name" : "PostProcessorTests",
      "path" : "Tests/PostProcessorTests",
      "sources" : [
        "PostProcessorTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NormalizerTests",
      "module_type" : "SwiftTarget",
      "name" : "NormalizerTests",
      "path" : "Tests/NormalizerTests",
      "sources" : [
        "NormalizerTests.swift"
      ],
      "target_dependencies" : [
        "Tokenizers",
        "Hub"
      ],
      "type" : "test"
    },
    {
      "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" : [
        "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.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
[394/15773] Fetching jinja, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.0 (1.39s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.04s)
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.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.69s)
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
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.0
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
[5/32] Copying t5_tokenizer_config.json
[6/32] Copying gpt2_tokenizer_config.json
[6/32] Write sources
[15/32] Write swift-version-24593BA9C3E375BF.txt
[17/65] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/66] Emitting module ArgumentParserToolInfo
[20/67] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/67] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/67] Emitting module InternalCollectionsUtilities
[23/67] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/67] Compiling InternalCollectionsUtilities Debugging.swift
[25/67] Compiling InternalCollectionsUtilities Descriptions.swift
[26/67] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/67] Compiling TensorUtils RepetitionPenaltyWarper.swift
[28/67] Compiling TensorUtils TemperatureLogitsWarper.swift
[29/67] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/67] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/67] Compiling TensorUtils LogitsProcessor.swift
[32/67] Compiling TensorUtils LogitsWarper.swift
[34/67] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/68] Wrapping AST for ArgumentParserToolInfo for debugging
[36/105] Wrapping AST for InternalCollectionsUtilities for debugging
[38/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[39/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[40/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[41/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[42/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[43/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[44/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[45/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[46/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[47/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[48/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[49/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[50/160] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[51/160] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[52/167] Compiling OrderedCollections OrderedDictionary.swift
[53/167] Compiling OrderedCollections OrderedSet+Codable.swift
[54/167] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/167] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/167] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/167] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/167] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[59/167] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/167] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/167] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/167] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/167] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/167] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[66/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[67/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[68/167] Compiling OrderedCollections OrderedDictionary+Codable.swift
[69/167] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[70/167] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[71/167] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[72/167] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[73/167] Compiling OrderedCollections OrderedDictionary+Elements.swift
[74/167] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[75/167] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[76/167] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[77/167] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[78/167] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[79/167] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[80/167] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[81/167] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[82/167] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[83/167] Compiling OrderedCollections OrderedDictionary+Values.swift
[84/167] Emitting module ArgumentParser
[85/172] Compiling OrderedCollections _HashTable+Bucket.swift
[86/172] Compiling OrderedCollections _HashTable+BucketIterator.swift
[87/172] Compiling OrderedCollections _HashTable+Constants.swift
[88/172] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[89/172] Compiling OrderedCollections _HashTable+Testing.swift
[90/172] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[91/172] Compiling OrderedCollections _HashTable.swift
[92/172] Compiling OrderedCollections _Hashtable+Header.swift
[93/172] Emitting module OrderedCollections
[94/172] Compiling OrderedCollections OrderedSet+Sendable.swift
[95/172] Compiling OrderedCollections OrderedSet+SubSequence.swift
[96/172] Compiling OrderedCollections OrderedSet+Testing.swift
[97/172] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[98/172] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[99/172] Compiling OrderedCollections OrderedSet.swift
[100/172] Compiling OrderedCollections _UnsafeBitset.swift
[118/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) }
[119/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) }
[120/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) }
[121/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) }
[122/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) }
[122/173] Wrapping AST for OrderedCollections for debugging
[134/182] 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 |
[135/182] 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 |
[136/183] 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/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 |
[138/183] Compiling Jinja Template.swift
[139/184] 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/184] 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 |
/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 |
[143/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 |
[144/184] 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 |
[145/184] 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 |
[146/184] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[157/184] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[158/184] 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 |
[159/184] 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 |
[160/184] 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 |
[161/184] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write swift-version-24593BA9C3E375BF.txt
[3/51] 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 |
[4/51] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/52] 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 |
[6/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.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/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.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 |
[8/52] 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/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 |
[10/52] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/53] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/53] Compiling InternalCollectionsUtilities Debugging.swift
[13/53] Compiling InternalCollectionsUtilities Descriptions.swift
[14/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/53] 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 |
[16/53] 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 |
[17/53] 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 |
[18/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/53] 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 |
[20/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/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 |
[23/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 |
[24/53] 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 |
[27/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/53] Compiling InternalCollectionsUtilities UInt+reversed.swift
[29/53] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android