This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.28.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aziyan99/SwiftTfIdf.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/aziyan99/SwiftTfIdf
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0300678 Create CONTRIBUTING.md
Cloned https://github.com/aziyan99/SwiftTfIdf.git
Revision (git rev-parse @):
030067817e1f4867d0177e5d3d3bc01e2d505a90
SUCCESS checkout https://github.com/aziyan99/SwiftTfIdf.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swifttfidf",
      "name": "SwiftTfIdf",
      "url": "https://github.com/aziyan99/SwiftTfIdf.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTfIdf",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/aziyan99/SwiftTfIdf.git from cache
Fetched https://github.com/aziyan99/SwiftTfIdf.git (0.19s)
Creating working copy for https://github.com/aziyan99/SwiftTfIdf.git
Working copy of https://github.com/aziyan99/SwiftTfIdf.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swifttfidf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module SwiftTfIdf
[2/2] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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...
[1/2] Emitting module SwiftTfIdf
[2/2] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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/TDmZkXJm/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.9 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.