The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-transformers with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.36.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ashvardanian/swift-transformers.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ashvardanian/swift-transformers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 89fb5d9 Fix: UTF8 support in Unigram tokenizer
Cloned https://github.com/ashvardanian/swift-transformers.git
Revision (git rev-parse @):
89fb5d97e1df347f9f588f62fc538dcad6fdb16c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ashvardanian/swift-transformers.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ashvardanian/swift-transformers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Copying t5_tokenizer_config.json
[2/5] Copying gpt2_tokenizer_config.json
[4/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[5/18] Emitting module ArgumentParserToolInfo
[6/50] Emitting module ArgumentParser
[7/60] Compiling Hub Downloader.swift
[8/60] Compiling Hub HubApi.swift
[9/60] Compiling Hub Hub.swift
[10/60] Emitting module Hub
[11/61] Compiling Hub resource_bundle_accessor.swift
[12/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[13/71] Compiling ArgumentParser CompletionsGenerator.swift
[14/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[15/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[16/71] Compiling ArgumentParser Argument.swift
[17/71] Compiling ArgumentParser ArgumentHelp.swift
[18/71] Compiling ArgumentParser ArgumentVisibility.swift
[19/71] Compiling ArgumentParser CompletionKind.swift
[20/71] Compiling ArgumentParser Errors.swift
[21/71] Compiling ArgumentParser Flag.swift
[22/71] Compiling ArgumentParser NameSpecification.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/71] Emitting module Tokenizers
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
[24/74] Compiling Tokenizers UnigramTokenizer.swift
[25/74] Compiling Tokenizers Utils.swift
[26/74] Compiling ArgumentParser AsyncParsableCommand.swift
[27/74] Compiling ArgumentParser CommandConfiguration.swift
[28/74] Compiling ArgumentParser EnumerableFlag.swift
[29/74] Compiling ArgumentParser ExpressibleByArgument.swift
[30/74] Compiling ArgumentParser ParsableArguments.swift
[31/74] Compiling ArgumentParser ParsableArgumentsValidation.swift
[32/74] Compiling ArgumentParser ParsableCommand.swift
[33/74] Compiling ArgumentParser ArgumentDecoder.swift
[34/74] Compiling Tokenizers Trie.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:25:41: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            if let child = node.children[item] {
                                        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:29:31: error: cannot convert value of type 'Any' to expected argument type 'T'
                node.children[item] = child
                              ^
                                   as! T
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:37:30: error: type of expression is ambiguous without more context
        for t in container { insert(t) }
                             ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: error: no exact matches in call to instance method 'append'
            seq.append(item)
                ^
Swift.Array:6:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Element)
                                    ^
Swift.RangeReplaceableCollection:4:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Self.Element)
                                    ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:48:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return seqs }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: error: generic parameter 'T' could not be inferred
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:82:46: note: 'T' declared as parameter to type 'LeavesWithCommonPrefixIterator'
public struct LeavesWithCommonPrefixIterator<T: Hashable> : Sequence, IteratorProtocol {
                                             ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: note: explicitly specify the generic arguments to fix this issue
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
                                             <<#T: Hashable#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:69:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return nil }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:25:41: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            if let child = node.children[item] {
                                        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:29:31: error: cannot convert value of type 'Any' to expected argument type 'T'
                node.children[item] = child
                              ^
                                   as! T
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:37:30: error: type of expression is ambiguous without more context
        for t in container { insert(t) }
                             ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: error: no exact matches in call to instance method 'append'
            seq.append(item)
                ^
Swift.Array:6:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Element)
                                    ^
Swift.RangeReplaceableCollection:4:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Self.Element)
                                    ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:48:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return seqs }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: error: generic parameter 'T' could not be inferred
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:82:46: note: 'T' declared as parameter to type 'LeavesWithCommonPrefixIterator'
public struct LeavesWithCommonPrefixIterator<T: Hashable> : Sequence, IteratorProtocol {
                                             ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: note: explicitly specify the generic arguments to fix this issue
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
                                             <<#T: Hashable#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:69:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return nil }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:25:41: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            if let child = node.children[item] {
                                        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:29:31: error: cannot convert value of type 'Any' to expected argument type 'T'
                node.children[item] = child
                              ^
                                   as! T
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:37:30: error: type of expression is ambiguous without more context
        for t in container { insert(t) }
                             ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: error: no exact matches in call to instance method 'append'
            seq.append(item)
                ^
Swift.Array:6:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Element)
                                    ^
Swift.RangeReplaceableCollection:4:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Self.Element)
                                    ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:48:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return seqs }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: error: generic parameter 'T' could not be inferred
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:82:46: note: 'T' declared as parameter to type 'LeavesWithCommonPrefixIterator'
public struct LeavesWithCommonPrefixIterator<T: Hashable> : Sequence, IteratorProtocol {
                                             ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: note: explicitly specify the generic arguments to fix this issue
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
                                             <<#T: Hashable#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:69:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return nil }
                                           ^
[37/74] Compiling Tokenizers PreTokenizer.swift
[38/74] Compiling Tokenizers TokenLattice.swift
[39/74] Compiling Tokenizers Tokenizer.swift
[40/74] Compiling Tokenizers Decoder.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:218:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:220:16: warning: string literal is unused
               "\(c)"
               ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:222:9: error: missing return in closure expected to return 'String'
        }
        ^
[41/74] Compiling Tokenizers Normalizer.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:218:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:220:16: warning: string literal is unused
               "\(c)"
               ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:222:9: error: missing return in closure expected to return 'String'
        }
        ^
[42/74] Compiling Tokenizers PostProcessor.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:218:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:220:16: warning: string literal is unused
               "\(c)"
               ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:222:9: error: missing return in closure expected to return 'String'
        }
        ^
[43/74] Compiling Tokenizers BPETokenizer.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
[44/74] Compiling Tokenizers BertTokenizer.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
[45/74] Compiling Tokenizers ByteEncoder.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git (0.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.02s)
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.3.0
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[2/34] Compiling ArgumentParser Name.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:25:41: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            if let child = node.children[item] {
                                        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:29:31: error: cannot convert value of type 'Any' to expected argument type 'T'
                node.children[item] = child
                              ^
                                   as! T
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:37:30: error: type of expression is ambiguous without more context
        for t in container { insert(t) }
                             ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: error: no exact matches in call to instance method 'append'
            seq.append(item)
                ^
Swift.Array:6:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Element)
                                    ^
Swift.RangeReplaceableCollection:4:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Self.Element)
                                    ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:48:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return seqs }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: error: generic parameter 'T' could not be inferred
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:82:46: note: 'T' declared as parameter to type 'LeavesWithCommonPrefixIterator'
public struct LeavesWithCommonPrefixIterator<T: Hashable> : Sequence, IteratorProtocol {
                                             ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: note: explicitly specify the generic arguments to fix this issue
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
                                             <<#T: Hashable#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:69:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return nil }
                                           ^
[3/34] Compiling ArgumentParser Parsed.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:25:41: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            if let child = node.children[item] {
                                        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:29:31: error: cannot convert value of type 'Any' to expected argument type 'T'
                node.children[item] = child
                              ^
                                   as! T
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:37:30: error: type of expression is ambiguous without more context
        for t in container { insert(t) }
                             ^~~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: error: no exact matches in call to instance method 'append'
            seq.append(item)
                ^
Swift.Array:6:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Element)
                                    ^
Swift.RangeReplaceableCollection:4:37: note: candidate expects value of type 'T' for parameter #1 (got 'Any')
    @inlinable public mutating func append(_ newElement: __owned Self.Element)
                                    ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:47:17: note: found candidate with type '(__owned Any) -> ()'
            seq.append(item)
                ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:48:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return seqs }
                                           ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: error: generic parameter 'T' could not be inferred
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:82:46: note: 'T' declared as parameter to type 'LeavesWithCommonPrefixIterator'
public struct LeavesWithCommonPrefixIterator<T: Hashable> : Sequence, IteratorProtocol {
                                             ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:60:16: note: explicitly specify the generic arguments to fix this issue
        return LeavesWithCommonPrefixIterator(node: root, text: text)
               ^
                                             <<#T: Hashable#>>
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:69:44: error: subscript 'subscript(_:)' requires that 'R' conform to 'RangeExpression'
            guard let child = node.children[item] else { return nil }
                                           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] Emitting module Tokenizers
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
[5/36] Compiling ArgumentParser InputKey.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:218:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:220:16: warning: string literal is unused
               "\(c)"
               ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:222:9: error: missing return in closure expected to return 'String'
        }
        ^
[6/36] Compiling ArgumentParser InputOrigin.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:218:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:220:16: warning: string literal is unused
               "\(c)"
               ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Normalizer.swift:222:9: error: missing return in closure expected to return 'String'
        }
        ^
[7/36] Compiling ArgumentParser ArgumentDefinition.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
[8/36] Compiling ArgumentParser ArgumentSet.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
[9/36] Compiling ArgumentParser CommandParser.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:121:17: warning: string literal is unused
                " \(c) "
                ^~~~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:123:17: warning: string literal is unused
                "\(c)"
                ^~~~~~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/BertTokenizer.swift:125:9: error: missing return in closure expected to return 'String'
        }.joined()
        ^
[10/36] Compiling Tokenizers UnigramTokenizer.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
[11/36] Compiling Tokenizers Utils.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: error: 'any IteratorProtocol' is not convertible to 'any IteratorProtocol<T>'
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                                            ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Tokenizers/Trie.swift:86:45: note: did you mean to use 'as!' to force downcast?
    lazy var iterator = text.makeIterator() as any IteratorProtocol<T>
                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                            as!
[14/36] Emitting module TensorUtils
BUILD FAILURE 5.8 macosSpm