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 SwiftTfIdf with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aziyan99/SwiftTfIdf.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/aziyan99/SwiftTfIdf
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 72ef1cd Merge pull request #1 from aziyan99/add-license-1
Cloned https://github.com/aziyan99/SwiftTfIdf.git
Revision (git rev-parse @):
72ef1cd20c105765f5b8d7d3c6e917198ace541b
SUCCESS checkout https://github.com/aziyan99/SwiftTfIdf.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/aziyan99/SwiftTfIdf.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/4] Emitting module SwiftTfIdf
[4/4] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: error: 'NLTokenizer' is only available in macOS 10.14 or newer
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: note: add 'if #available' version check
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: error: 'init(unit:)' is only available in macOS 10.14 or newer
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: note: add 'if #available' version check
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: error: 'string' is only available in macOS 10.14 or newer
            tokenizer.string = sentence
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: note: add 'if #available' version check
            tokenizer.string = sentence
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:30:23: error: 'enumerateTokens(in:using:)' is only available in macOS 10.14 or newer
            tokenizer.enumerateTokens(in: sentence.startIndex..<sentence.endIndex) { tokenRange, _ in
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:30:23: note: add 'if #available' version check
            tokenizer.enumerateTokens(in: sentence.startIndex..<sentence.endIndex) { tokenRange, _ in
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Emitting module SwiftTfIdf
[3/3] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: error: 'NLTokenizer' is only available in macOS 10.14 or newer
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: note: add 'if #available' version check
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: error: 'init(unit:)' is only available in macOS 10.14 or newer
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:28:29: note: add 'if #available' version check
            let tokenizer = NLTokenizer(unit: .word)
                            ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: error: 'string' is only available in macOS 10.14 or newer
            tokenizer.string = sentence
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: note: add 'if #available' version check
            tokenizer.string = sentence
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:30:23: error: 'enumerateTokens(in:using:)' is only available in macOS 10.14 or newer
            tokenizer.enumerateTokens(in: sentence.startIndex..<sentence.endIndex) { tokenRange, _ in
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:30:23: note: add 'if #available' version check
            tokenizer.enumerateTokens(in: sentence.startIndex..<sentence.endIndex) { tokenRange, _ in
                      ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:21:10: note: add @available attribute to enclosing instance method
    func sentences2ArrayOfWords(sentences: [String]) -> [[String]]{
         ^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
             ^
error: fatalError
BUILD FAILURE 5.10 macosSpm