Build Information
Failed to build SwiftTfIdf with Swift 5.8 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/o86TiJKT/3/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module SwiftTfIdf
[2/2] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: note: add 'if #available' version check
tokenizer.string = sentence
^
/Users/builder/builds/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
^
[0/1] Planning build
Building for debugging...
[1/2] Emitting module SwiftTfIdf
[2/2] Compiling SwiftTfIdf SwiftTfIdf.swift
/Users/builder/builds/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:29:23: note: add 'if #available' version check
tokenizer.string = sentence
^
/Users/builder/builds/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/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/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftTfIdf/SwiftTfIdf.swift:4:14: note: add @available attribute to enclosing class
public class SwiftTfIdf {
^
BUILD FAILURE 5.8 macosSpm