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: v1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/aziyan99/SwiftTfIdf
* tag v1.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 v1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/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/0/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.15s)
Creating working copy for https://github.com/aziyan99/SwiftTfIdf.git
Working copy of https://github.com/aziyan99/SwiftTfIdf.git resolved at v1.0.0
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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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/0/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