Build Information
Successful build of CAAudioHardware, reference main (2c8a0f
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 10:46:09 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CAAudioHardware.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CAAudioHardware
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2c8a0f9 Move free property data functions into `AudioObject` (#65)
Cloned https://github.com/sbooth/CAAudioHardware.git
Revision (git rev-parse @):
2c8a0f9a3cf3d5d13a0ec282c29d3e4155b125a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/CAAudioHardware.git at main
Fetching https://github.com/sbooth/CoreAudioExtensions
Fetching https://github.com/sbooth/FourCC
[1/132] Fetching coreaudioextensions
[20/192] Fetching coreaudioextensions, fourcc
Fetched https://github.com/sbooth/CoreAudioExtensions from cache (0.71s)
Fetched https://github.com/sbooth/FourCC from cache (0.71s)
Computing version for https://github.com/sbooth/CoreAudioExtensions
Computed https://github.com/sbooth/CoreAudioExtensions at 0.2.0 (0.65s)
Computing version for https://github.com/sbooth/FourCC
Computed https://github.com/sbooth/FourCC at 0.1.1 (0.63s)
Creating working copy for https://github.com/sbooth/CoreAudioExtensions
Working copy of https://github.com/sbooth/CoreAudioExtensions resolved at 0.2.0
Creating working copy for https://github.com/sbooth/FourCC
Working copy of https://github.com/sbooth/FourCC resolved at 0.1.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "caaudiohardware",
"name": "CAAudioHardware",
"url": "https://github.com/sbooth/CAAudioHardware.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CAAudioHardware",
"dependencies": [
{
"identity": "fourcc",
"name": "FourCC",
"url": "https://github.com/sbooth/FourCC",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FourCC",
"dependencies": [
]
},
{
"identity": "coreaudioextensions",
"name": "CoreAudioExtensions",
"url": "https://github.com/sbooth/CoreAudioExtensions",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreAudioExtensions",
"dependencies": [
{
"identity": "fourcc",
"name": "FourCC",
"url": "https://github.com/sbooth/FourCC",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FourCC",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/sbooth/CAAudioHardware.git
[1/1551] Fetching caaudiohardware
Fetched https://github.com/sbooth/CAAudioHardware.git from cache (0.98s)
Fetching https://github.com/sbooth/FourCC from cache
Fetching https://github.com/sbooth/CoreAudioExtensions from cache
Fetched https://github.com/sbooth/FourCC from cache (0.48s)
Fetched https://github.com/sbooth/CoreAudioExtensions from cache (0.48s)
Computing version for https://github.com/sbooth/CoreAudioExtensions
Computed https://github.com/sbooth/CoreAudioExtensions at 0.2.0 (0.02s)
Computing version for https://github.com/sbooth/FourCC
Computed https://github.com/sbooth/FourCC at 0.1.2 (0.02s)
Creating working copy for https://github.com/sbooth/FourCC
Working copy of https://github.com/sbooth/FourCC resolved at 0.1.2
Creating working copy for https://github.com/sbooth/CoreAudioExtensions
Working copy of https://github.com/sbooth/CoreAudioExtensions resolved at 0.2.0
Creating working copy for https://github.com/sbooth/CAAudioHardware.git
Working copy of https://github.com/sbooth/CAAudioHardware.git resolved at main (2c8a0f9)
warning: '.resolve-product-dependencies': dependency 'caaudiohardware' is not used by any target
Found 2 product dependencies
- FourCC
- CoreAudioExtensions
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/sbooth/CAAudioHardware.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/7] Compiling FourCC String+fourCC.swift
[6/7] Emitting module FourCC
[7/7] Compiling FourCC UInt32+fourCC.swift
[8/11] Compiling CoreAudioExtensions AudioStreamBasicDescription+SFBExtensions.swift
[9/11] Compiling CoreAudioExtensions AudioValueRange+SFBExtensions.swift
[10/11] Compiling CoreAudioExtensions AudioChannelLayout+SFBExtensions.swift
[11/11] Emitting module CoreAudioExtensions
[12/49] Emitting module CAAudioHardware
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[13/53] Compiling CAAudioHardware LevelControl.swift
[14/53] Compiling CAAudioHardware PropertyAddress.swift
[15/53] Compiling CAAudioHardware PropertyElement.swift
[16/53] Compiling CAAudioHardware PropertyQualifier.swift
[17/53] Compiling CAAudioHardware AudioControl.swift
[18/53] Compiling CAAudioHardware AudioDevice+ChannelNominalLineLevel.swift
[19/53] Compiling CAAudioHardware AudioDevice+ClockSource.swift
[20/53] Compiling CAAudioHardware AudioDevice+DataSource.swift
[21/53] Compiling CAAudioHardware AudioSystemObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[22/53] Compiling CAAudioHardware AudioTap.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[23/53] Compiling CAAudioHardware AudioTransportManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[24/53] Compiling CAAudioHardware BooleanControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[25/53] Compiling CAAudioHardware AudioEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[26/53] Compiling CAAudioHardware AudioEndpointDevice.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[27/53] Compiling CAAudioHardware AudioHardwareIOProcStreamUsageWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[28/53] Compiling CAAudioHardware AudioObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:22:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
19 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
20 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
21 | /// The singleton audio system object
22 | public static let instance = AudioSystemObject()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'AudioSystemObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | @available(*, unavailable, message: "Use instance instead")
[29/53] Compiling CAAudioHardware PropertyScope.swift
[30/53] Compiling CAAudioHardware PropertySelector.swift
[31/53] Compiling CAAudioHardware SelectorControl+Item.swift
[32/53] Compiling CAAudioHardware SelectorControl.swift
[33/53] Compiling CAAudioHardware AudioStream.swift
[34/53] Compiling CAAudioHardware AudioSubdevice+DriftCompensationQuality.swift
[35/53] Compiling CAAudioHardware AudioSubdevice.swift
[36/53] Compiling CAAudioHardware AudioSubtap.swift
[37/53] Compiling CAAudioHardware AudioObjectPropertyData.swift
[38/53] Compiling CAAudioHardware AudioPlugIn.swift
[39/53] Compiling CAAudioHardware AudioProcess.swift
[40/53] Compiling CAAudioHardware AudioStream+TerminalType.swift
[41/53] Compiling CAAudioHardware SliderControl.swift
[42/53] Compiling CAAudioHardware StereoPanControl.swift
[43/53] Compiling CAAudioHardware UInt32+hexString.swift
[44/53] Compiling CAAudioHardware UnfairLock.swift
[45/53] Compiling CAAudioHardware AudioDevice+HighPassFilterSetting.swift
[46/53] Compiling CAAudioHardware AudioDevice+PlayThroughDestination.swift
[47/53] Compiling CAAudioHardware AudioDevice+TransportType.swift
[48/53] Compiling CAAudioHardware AudioDevice.swift
[49/53] Compiling CAAudioHardware AudioAggregateDevice.swift
[50/53] Compiling CAAudioHardware AudioBox.swift
[51/53] Compiling CAAudioHardware AudioBufferListWrapper.swift
[52/53] Compiling CAAudioHardware AudioChannelLayoutWrapper.swift
[53/53] Compiling CAAudioHardware AudioClockDevice.swift
Build complete! (13.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "fourcc",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/FourCC"
},
{
"identity" : "coreaudioextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CoreAudioExtensions"
}
],
"manifest_display_name" : "CAAudioHardware",
"name" : "CAAudioHardware",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "CAAudioHardware",
"targets" : [
"CAAudioHardware"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CAAudioHardwareTests",
"module_type" : "SwiftTarget",
"name" : "CAAudioHardwareTests",
"path" : "Tests/CAAudioHardwareTests",
"sources" : [
"CAAudioHardwareTests.swift"
],
"target_dependencies" : [
"CAAudioHardware"
],
"type" : "test"
},
{
"c99name" : "CAAudioHardware",
"module_type" : "SwiftTarget",
"name" : "CAAudioHardware",
"path" : "Sources/CAAudioHardware",
"product_dependencies" : [
"FourCC",
"CoreAudioExtensions"
],
"product_memberships" : [
"CAAudioHardware"
],
"sources" : [
"AudioAggregateDevice.swift",
"AudioBox.swift",
"AudioBufferListWrapper.swift",
"AudioChannelLayoutWrapper.swift",
"AudioClockDevice.swift",
"AudioControl.swift",
"AudioDevice+ChannelNominalLineLevel.swift",
"AudioDevice+ClockSource.swift",
"AudioDevice+DataSource.swift",
"AudioDevice+HighPassFilterSetting.swift",
"AudioDevice+PlayThroughDestination.swift",
"AudioDevice+TransportType.swift",
"AudioDevice.swift",
"AudioEndpoint.swift",
"AudioEndpointDevice.swift",
"AudioHardwareIOProcStreamUsageWrapper.swift",
"AudioObject.swift",
"AudioObjectPropertyData.swift",
"AudioPlugIn.swift",
"AudioProcess.swift",
"AudioStream+TerminalType.swift",
"AudioStream.swift",
"AudioSubdevice+DriftCompensationQuality.swift",
"AudioSubdevice.swift",
"AudioSubtap.swift",
"AudioSystemObject.swift",
"AudioTap.swift",
"AudioTransportManager.swift",
"BooleanControl.swift",
"LevelControl.swift",
"PropertyAddress.swift",
"PropertyElement.swift",
"PropertyQualifier.swift",
"PropertyScope.swift",
"PropertySelector.swift",
"SelectorControl+Item.swift",
"SelectorControl.swift",
"SliderControl.swift",
"StereoPanControl.swift",
"UInt32+hexString.swift",
"UnfairLock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/sbooth/caaudiohardware/main
Repository: sbooth/CAAudioHardware
Swift version used: 6.0
Target: CAAudioHardware
Extracting symbol information for 'CAAudioHardware'...
Finished extracting symbol information for 'CAAudioHardware'. (7.06s)
Building documentation for 'CAAudioHardware'...
warning: Parameter 'scope' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:425:44-425:44
423 | /// Returns IOProc stream usage
424 | /// - note: This corresponds to the property `kAudioDevicePropertyIOProcStreamUsage`
425 + /// - parameter ioProc: The desired IOProc
| ╰─suggestion: Document 'scope' parameter
426 | public func ioProcStreamUsage(_ ioProc: UnsafeMutableRawPointer, inScope scope: PropertyScope) throws -> AudioHardwareIOProcStreamUsageWrapper {
427 | let property = PropertyAddress(PropertySelector(kAudioDevicePropertyIOProcStreamUsage), scope: scope)
warning: Parameter 'scope' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:533:46-533:46
531 | /// Converts volume `scalar` to decibels and returns the converted value
532 | /// - remark: This corresponds to the property `kAudioDevicePropertyVolumeScalarToDecibels`
533 + /// - parameter scalar: The value to convert
| ╰─suggestion: Document 'scope' parameter
534 | public func convertVolumeToDecibels(fromScalar scalar: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
535 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyVolumeScalarToDecibels), scope: scope, element: channel), initialValue: scalar)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:533:46-533:46
531 | /// Converts volume `scalar` to decibels and returns the converted value
532 | /// - remark: This corresponds to the property `kAudioDevicePropertyVolumeScalarToDecibels`
533 + /// - parameter scalar: The value to convert
| ╰─suggestion: Document 'channel' parameter
534 | public func convertVolumeToDecibels(fromScalar scalar: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
535 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyVolumeScalarToDecibels), scope: scope, element: channel), initialValue: scalar)
warning: Parameter 'scope' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:540:48-540:48
538 | /// Converts volume `decibels` to scalar and returns the converted value
539 | /// - remark: This corresponds to the property `kAudioDevicePropertyVolumeDecibelsToScalar`
540 + /// - parameter decibels: The value to convert
| ╰─suggestion: Document 'scope' parameter
541 | public func convertVolumeToScalar(fromDecibels decibels: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
542 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyVolumeDecibelsToScalar), scope: scope, element: channel), initialValue: decibels)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:540:48-540:48
538 | /// Converts volume `decibels` to scalar and returns the converted value
539 | /// - remark: This corresponds to the property `kAudioDevicePropertyVolumeDecibelsToScalar`
540 + /// - parameter decibels: The value to convert
| ╰─suggestion: Document 'channel' parameter
541 | public func convertVolumeToScalar(fromDecibels decibels: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
542 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyVolumeDecibelsToScalar), scope: scope, element: channel), initialValue: decibels)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:783:46-783:46
781 | /// Converts play-through volume `scalar` to decibels and returns the converted value
782 | /// - remark: This corresponds to the property `kAudioDevicePropertyPlayThruVolumeScalarToDecibels`
783 + /// - parameter scalar: The value to convert
| ╰─suggestion: Document 'channel' parameter
784 | public func convertPlayThroughVolumeToDecibels(fromScalar scalar: Float, forChannel channel: PropertyElement = .main) throws -> Float {
785 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyPlayThruVolumeScalarToDecibels), scope: .playThrough, element: channel), initialValue: scalar)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:790:48-790:48
788 | /// Converts play-through volume `decibels` to scalar and returns the converted value
789 | /// - remark: This corresponds to the property `kAudioDevicePropertyPlayThruVolumeDecibelsToScalar`
790 + /// - parameter decibels: The value to convert
| ╰─suggestion: Document 'channel' parameter
791 | public func convertPlayThroughVolumeToScalar(fromDecibels decibels: Float, forChannel channel: PropertyElement = .main) throws -> Float {
792 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertyPlayThruVolumeDecibelsToScalar), scope: .playThrough, element: channel), initialValue: decibels)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:973:46-973:46
971 | /// Converts LFE volume `scalar` to decibels and returns the converted value
972 | /// - remark: This corresponds to the property `kAudioDevicePropertySubVolumeScalarToDecibels`
973 + /// - parameter scalar: The value to convert
| ╰─suggestion: Document 'channel' parameter
974 | public func convertSubVolumeToDecibels(fromScalar scalar: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
975 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertySubVolumeScalarToDecibels), scope: scope, element: channel), initialValue: scalar)
warning: Parameter 'scope' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:973:46-973:46
971 | /// Converts LFE volume `scalar` to decibels and returns the converted value
972 | /// - remark: This corresponds to the property `kAudioDevicePropertySubVolumeScalarToDecibels`
973 + /// - parameter scalar: The value to convert
| ╰─suggestion: Document 'scope' parameter
974 | public func convertSubVolumeToDecibels(fromScalar scalar: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
975 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertySubVolumeScalarToDecibels), scope: scope, element: channel), initialValue: scalar)
warning: Parameter 'scope' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:980:48-980:48
978 | /// Converts LFE volume `decibels` to scalar and returns the converted value
979 | /// - remark: This corresponds to the property `kAudioDevicePropertySubVolumeDecibelsToScalar`
980 + /// - parameter decibels: The value to convert
| ╰─suggestion: Document 'scope' parameter
981 | public func convertSubVolumeToScalar(fromDecibels decibels: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
982 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertySubVolumeDecibelsToScalar), scope: scope, element: channel), initialValue: decibels)
warning: Parameter 'channel' is missing documentation
--> Sources/CAAudioHardware/AudioDevice.swift:980:48-980:48
978 | /// Converts LFE volume `decibels` to scalar and returns the converted value
979 | /// - remark: This corresponds to the property `kAudioDevicePropertySubVolumeDecibelsToScalar`
980 + /// - parameter decibels: The value to convert
| ╰─suggestion: Document 'channel' parameter
981 | public func convertSubVolumeToScalar(fromDecibels decibels: Float, forChannel channel: PropertyElement = .main, inScope scope: PropertyScope = .global) throws -> Float {
982 | return try getProperty(PropertyAddress(PropertySelector(kAudioDevicePropertySubVolumeDecibelsToScalar), scope: scope, element: channel), initialValue: decibels)
warning: Parameter 'ptr' not found in type method declaration
--> Sources/CAAudioHardware/AudioObjectPropertyData.swift:58:6-58:61
56 | /// - parameter objectID: The audio object to change
57 | /// - parameter property: The address of the desired property
58 + /// - parameter ptr: A pointer to the desired property data
| ╰─suggestion: Remove 'ptr' parameter documentation
59 | /// - parameter size: The number of bytes to write
60 | /// - parameter qualifier: An optional property qualifier
warning: Parameter 'buffer' is missing documentation
--> Sources/CAAudioHardware/AudioObjectPropertyData.swift:60:59-60:59
58 | /// - parameter ptr: A pointer to the desired property data
59 | /// - parameter size: The number of bytes to write
| ╰─suggestion: Document 'buffer' parameter
60 + /// - parameter qualifier: An optional property qualifier
61 | /// - throws: An exception if the object does not have the requested property, the property is not settable, or the property data could not be set
62 | public static func writeRawPropertyData(objectID: AudioObjectID, property: PropertyAddress, from buffer: UnsafeRawPointer, size: Int, qualifier: PropertyQualifier? = nil) throws {
warning: Parameter 'value' not found in initializer declaration
--> Sources/CAAudioHardware/AudioStream+TerminalType.swift:17:7-17:63
15 |
16 | /// Creates a new instance with the specified value
17 + /// - parameter value: The value to use for the new instance
| ╰─suggestion: Remove 'value' parameter documentation
18 | public init(_ rawValue: UInt32) {
19 | self.rawValue = rawValue
warning: Parameter 'rawValue' is missing documentation
--> Sources/CAAudioHardware/AudioStream+TerminalType.swift:17:63-17:63
15 |
16 | /// Creates a new instance with the specified value
17 + /// - parameter value: The value to use for the new instance
| ╰─suggestion: Document 'rawValue' parameter
18 | public init(_ rawValue: UInt32) {
19 | self.rawValue = rawValue
warning: Parameter 'value' not found in initializer declaration
--> Sources/CAAudioHardware/AudioSubdevice+DriftCompensationQuality.swift:17:7-17:63
15 |
16 | /// Creates a new instance with the specified value
17 + /// - parameter value: The value to use for the new instance
| ╰─suggestion: Remove 'value' parameter documentation
18 | public init(_ rawValue: UInt32) {
19 | self.rawValue = rawValue
warning: Parameter 'rawValue' is missing documentation
--> Sources/CAAudioHardware/AudioSubdevice+DriftCompensationQuality.swift:17:63-17:63
15 |
16 | /// Creates a new instance with the specified value
17 + /// - parameter value: The value to use for the new instance
| ╰─suggestion: Document 'rawValue' parameter
18 | public init(_ rawValue: UInt32) {
19 | self.rawValue = rawValue
warning: Parameter 'value' is missing documentation
--> Sources/CAAudioHardware/AudioSubtap.swift:26:42-26:42
24 | /// Sets the extra latency
25 | /// - remark: This corresponds to the property `kAudioSubTapPropertyExtraLatency`
26 + /// - parameter scope: The desired scope
| ╰─suggestion: Document 'value' parameter
27 | public func setExtraLatency(_ value: Double, inScope scope: PropertyScope) throws {
28 | try setProperty(PropertyAddress(PropertySelector(kAudioSubTapPropertyExtraLatency), scope: scope), to: value)
warning: Parameter 'uid' not found in instance method declaration
--> Sources/CAAudioHardware/AudioSystemObject.swift:63:6-63:59
61 | /// Returns the `AudioObjectID` for the audio plug-in for `bundleID` or `nil` if unknown
62 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToPlugIn`
63 + /// - parameter uid: The bundle ID of the desired plug-in
| ╰─suggestion: Remove 'uid' parameter documentation
64 | public func plugInID(forBundleID bundleID: String) throws -> AudioObjectID? {
65 | var qualifier = bundleID as CFString
warning: Parameter 'bundleID' is missing documentation
--> Sources/CAAudioHardware/AudioSystemObject.swift:63:59-63:59
61 | /// Returns the `AudioObjectID` for the audio plug-in for `bundleID` or `nil` if unknown
62 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToPlugIn`
63 + /// - parameter uid: The bundle ID of the desired plug-in
| ╰─suggestion: Document 'bundleID' parameter
64 | public func plugInID(forBundleID bundleID: String) throws -> AudioObjectID? {
65 | var qualifier = bundleID as CFString
warning: Parameter 'uid' not found in instance method declaration
--> Sources/CAAudioHardware/AudioSystemObject.swift:75:6-75:69
73 | /// Returns the `AudioObjectID` for the audio transport manager for `bundleID` or `nil` if unknown
74 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToTransportManager`
75 + /// - parameter uid: The bundle ID of the desired transport manager
| ╰─suggestion: Remove 'uid' parameter documentation
76 | public func transportManagerID(forBundleID bundleID: String) throws -> AudioObjectID? {
77 | var qualifier = bundleID as CFString
warning: Parameter 'bundleID' is missing documentation
--> Sources/CAAudioHardware/AudioSystemObject.swift:75:69-75:69
73 | /// Returns the `AudioObjectID` for the audio transport manager for `bundleID` or `nil` if unknown
74 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToTransportManager`
75 + /// - parameter uid: The bundle ID of the desired transport manager
| ╰─suggestion: Document 'bundleID' parameter
76 | public func transportManagerID(forBundleID bundleID: String) throws -> AudioObjectID? {
77 | var qualifier = bundleID as CFStringFinished building documentation for 'CAAudioHardware' (0.51s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/sbooth/caaudiohardware/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/sbooth/CoreAudioExtensions
Updated https://github.com/sbooth/CoreAudioExtensions (0.47s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/sbooth/FourCC
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Updated https://github.com/sbooth/FourCC (0.48s)
Computing version for https://github.com/sbooth/CoreAudioExtensions
Computed https://github.com/sbooth/CoreAudioExtensions at 0.2.0 (0.64s)
Computing version for https://github.com/sbooth/FourCC
Computed https://github.com/sbooth/FourCC at 0.1.1 (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit SourceRange.swift
[12/57] Compiling SymbolKit Metadata.swift
[13/57] Compiling SymbolKit Module.swift
[14/57] Compiling SymbolKit OperatingSystem.swift
[15/57] Compiling SymbolKit Platform.swift
[16/57] Compiling SymbolKit SemanticVersion.swift
[17/57] Compiling SymbolKit AccessControl.swift
[18/57] Compiling SymbolKit Availability.swift
[19/57] Compiling SymbolKit AvailabilityItem.swift
[20/57] Compiling SymbolKit Domain.swift
[21/57] Compiling SymbolKit Mixin+Equals.swift
[22/57] Compiling SymbolKit Mixin+Hash.swift
[23/57] Compiling SymbolKit Mixin.swift
[24/57] Compiling SymbolKit LineList.swift
[25/57] Compiling SymbolKit Position.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit DeclarationFragments.swift
[31/57] Compiling SymbolKit Fragment.swift
[32/57] Compiling SymbolKit FragmentKind.swift
[33/57] Compiling SymbolKit FunctionParameter.swift
[34/57] Compiling SymbolKit FunctionSignature.swift
[35/57] Compiling SymbolKit Identifier.swift
[36/57] Compiling SymbolKit KindIdentifier.swift
[37/57] Compiling SymbolKit Location.swift
[38/57] Compiling SymbolKit Mutability.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.30s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling FourCC UInt32+fourCC.swift
[3/4] Compiling FourCC String+fourCC.swift
[4/4] Emitting module FourCC
[5/8] Compiling CoreAudioExtensions AudioValueRange+SFBExtensions.swift
[6/8] Compiling CoreAudioExtensions AudioChannelLayout+SFBExtensions.swift
[7/8] Emitting module CoreAudioExtensions
[8/8] Compiling CoreAudioExtensions AudioStreamBasicDescription+SFBExtensions.swift
[9/46] Emitting module CAAudioHardware
[10/50] Compiling CAAudioHardware AudioAggregateDevice.swift
[11/50] Compiling CAAudioHardware AudioBox.swift
[12/50] Compiling CAAudioHardware AudioBufferListWrapper.swift
[13/50] Compiling CAAudioHardware AudioChannelLayoutWrapper.swift
[14/50] Compiling CAAudioHardware AudioClockDevice.swift
[15/50] Compiling CAAudioHardware PropertyScope.swift
[16/50] Compiling CAAudioHardware PropertySelector.swift
[17/50] Compiling CAAudioHardware SelectorControl+Item.swift
[18/50] Compiling CAAudioHardware SelectorControl.swift
[19/50] Compiling CAAudioHardware AudioControl.swift
[20/50] Compiling CAAudioHardware AudioDevice+ChannelNominalLineLevel.swift
[21/50] Compiling CAAudioHardware AudioDevice+ClockSource.swift
[22/50] Compiling CAAudioHardware AudioDevice+DataSource.swift
[23/50] Compiling CAAudioHardware LevelControl.swift
[24/50] Compiling CAAudioHardware PropertyAddress.swift
[25/50] Compiling CAAudioHardware PropertyElement.swift
[26/50] Compiling CAAudioHardware PropertyQualifier.swift
[27/50] Compiling CAAudioHardware AudioStream.swift
[28/50] Compiling CAAudioHardware AudioSubdevice+DriftCompensationQuality.swift
[29/50] Compiling CAAudioHardware AudioSubdevice.swift
[30/50] Compiling CAAudioHardware AudioSubtap.swift
[31/50] Compiling CAAudioHardware AudioSystemObject.swift
[32/50] Compiling CAAudioHardware AudioTap.swift
[33/50] Compiling CAAudioHardware AudioTransportManager.swift
[34/50] Compiling CAAudioHardware BooleanControl.swift
[35/50] Compiling CAAudioHardware AudioObjectPropertyData.swift
[36/50] Compiling CAAudioHardware AudioPlugIn.swift
[37/50] Compiling CAAudioHardware AudioProcess.swift
[38/50] Compiling CAAudioHardware AudioStream+TerminalType.swift
[39/50] Compiling CAAudioHardware AudioEndpoint.swift
[40/50] Compiling CAAudioHardware AudioEndpointDevice.swift
[41/50] Compiling CAAudioHardware AudioHardwareIOProcStreamUsageWrapper.swift
[42/50] Compiling CAAudioHardware AudioObject.swift
[43/50] Compiling CAAudioHardware SliderControl.swift
[44/50] Compiling CAAudioHardware StereoPanControl.swift
[45/50] Compiling CAAudioHardware UInt32+hexString.swift
[46/50] Compiling CAAudioHardware UnfairLock.swift
[47/50] Compiling CAAudioHardware AudioDevice+HighPassFilterSetting.swift
[48/50] Compiling CAAudioHardware AudioDevice+PlayThroughDestination.swift
[49/50] Compiling CAAudioHardware AudioDevice+TransportType.swift
[50/50] Compiling CAAudioHardware AudioDevice.swift
Build of target: 'CAAudioHardware' complete! (3.53s)
1824
12 /Users/admin/builder/spi-builder-workspace/.docs/sbooth/caaudiohardware/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sbooth/caaudiohardware/main
File count: 1824
Doc size: 12.0MB
Preparing doc bundle ...
Uploading prod-sbooth-caaudiohardware-main-f3df82ba.zip to s3://spi-docs-inbox/prod-sbooth-caaudiohardware-main-f3df82ba.zip
Copying... [10%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [72%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.