Build Information
Failed to build SwiftSpeech 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/Cay-Zhang/SwiftSpeech.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Cay-Zhang/SwiftSpeech
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6e41f28 added cocoapods installation hint in README
Cloned https://github.com/Cay-Zhang/SwiftSpeech.git
Revision (git rev-parse @):
6e41f289f5ccc1751ef5674972d46b48b326c4c6
SUCCESS checkout https://github.com/Cay-Zhang/SwiftSpeech.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/Cay-Zhang/SwiftSpeech.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/12] Compiling SwiftSpeech SwiftSpeech.swift
[4/13] Compiling SwiftSpeech Session.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[5/13] Compiling SwiftSpeech LibraryContent.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
[6/13] Compiling SwiftSpeech RecordButton.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:67:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: state != .cancelling ? "waveform" : "xmark")
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:58:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:29:12: note: add @available attribute to enclosing struct
struct RecordButton : View {
^
[7/13] Compiling SwiftSpeech SpeechRecognizer.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:80: error: 'AVAudioSession' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:95: error: 'sharedInstance()' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
open class func sharedInstance() -> AVAudioSession
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module SwiftSpeech
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[9/13] Compiling SwiftSpeech Environments.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[10/13] Compiling SwiftSpeech Extensions.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[11/13] Compiling SwiftSpeech Authorization.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[12/13] Compiling SwiftSpeech Demos.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[13/13] Compiling SwiftSpeech ViewModifiers.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/10] Compiling SwiftSpeech Environments.swift
[3/10] Compiling SwiftSpeech RecordButton.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:67:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
Image(systemName: state != .cancelling ? "waveform" : "xmark")
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:58:20: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/RecordButton.swift:29:12: note: add @available attribute to enclosing struct
struct RecordButton : View {
^
[4/10] Compiling SwiftSpeech SpeechRecognizer.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:80: error: 'AVAudioSession' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/SpeechRecognizer.swift:118:95: error: 'sharedInstance()' is unavailable in macOS
try sessionConfiguration.audioSessionConfiguration.onStopRecording(AVAudioSession.sharedInstance())
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:4:21: note: 'sharedInstance()' has been explicitly marked unavailable here
open class func sharedInstance() -> AVAudioSession
^
[5/10] Compiling SwiftSpeech Extensions.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[6/10] Compiling SwiftSpeech LibraryContent.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:14:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:19:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:24:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:29:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: error: 'LibraryItem' is only available in macOS 11.0 or newer
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:37:9: note: add 'if #available' version check
LibraryItem(
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
[7/10] Compiling SwiftSpeech Session.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[8/12] Compiling SwiftSpeech SwiftSpeech.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module SwiftSpeech
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:17: error: 'LibraryItem' is only available in macOS 11.0 or newer
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:13:9: note: add @available attribute to enclosing property
var views: [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:12:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:39: error: 'LibraryItem' is only available in macOS 11.0 or newer
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:35:6: error: 'LibraryContentBuilder' is only available in macOS 11.0 or newer
@LibraryContentBuilder
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:36:10: note: add @available attribute to enclosing instance method
func modifiers(base: AnyView) -> [LibraryItem] {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/LibraryContent.swift:11:8: note: add @available attribute to enclosing struct
struct LibraryContent: LibraryContentProvider {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:147:39: error: 'AVAudioSession' is unavailable in macOS
public var onStartRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:148:38: error: 'AVAudioSession' is unavailable in macOS
public var onStopRecording: (AVAudioSession) throws -> Void
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:50: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:153:110: error: 'AVAudioSession' is unavailable in macOS
public init(onStartRecording: @escaping (AVAudioSession) throws -> Void, onStopRecording: @escaping (AVAudioSession) throws -> Void) {
^~~~~~~~~~~~~~
AVFAudio.AVAudioSession:2:12: note: 'AVAudioSession' has been explicitly marked unavailable here
open class AVAudioSession : NSObject {
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:43: error: 'playAndRecord' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~
AVFAudio.AVAudioSession.Category:11:23: note: 'playAndRecord' has been explicitly marked unavailable here
public static let playAndRecord: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:65: error: 'default' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:85: error: 'defaultToSpeaker' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:77:27: note: 'defaultToSpeaker' has been explicitly marked unavailable here
public static var defaultToSpeaker: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:176:104: error: 'allowBluetoothA2DP' is unavailable in macOS
try audioSession.setCategory(.playAndRecord, mode: .default, options: [.defaultToSpeaker, .allowBluetoothA2DP])
^~~~~~~~~~~~~~~~~~
AVFAudio.AVAudioSession:87:27: note: 'allowBluetoothA2DP' has been explicitly marked unavailable here
public static var allowBluetoothA2DP: AVAudioSession.CategoryOptions { get }
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:177:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
[10/12] Compiling SwiftSpeech Authorization.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[11/12] Compiling SwiftSpeech Demos.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Demos.swift:137:19: error: 'navigationBarTitle' is unavailable in macOS
).navigationBarTitle(Text("SwiftSpeech"))
^~~~~~~~~~~~~~~~~~
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
public func navigationBarTitle(_ title: Text) -> some View
^
[12/12] Compiling SwiftSpeech ViewModifiers.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:30: error: 'setCategory(_:mode:options:)' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~~~~~
AVFAudio.AVAudioSession:18:15: note: 'setCategory(_:mode:options:)' has been explicitly marked unavailable here
open func setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:43: error: 'record' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~
AVFAudio.AVAudioSession.Category:9:23: note: 'record' has been explicitly marked unavailable here
public static let record: AVAudioSession.Category
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:164:58: error: 'default' is unavailable in macOS
try audioSession.setCategory(.record, mode: .default, options: [])
^~~~~~~
AVFAudio.AVAudioSession.Mode:3:23: note: 'default' has been explicitly marked unavailable here
public static let `default`: AVAudioSession.Mode
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:165:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(true, options: [])
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftSpeech/Session.swift:167:30: error: 'setActive(_:options:)' is unavailable in macOS
try audioSession.setActive(false, options: .notifyOthersOnDeactivation)
^~~~~~~~~
AVFAudio.AVAudioSession:6:15: note: 'setActive(_:options:)' has been explicitly marked unavailable here
open func setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throws
^
error: fatalError
BUILD FAILURE 5.10 macosSpm