Build Information
Successful build of CAAudioHardware, reference 0.5.0 (7c0c25
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 10:46:31 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: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/CAAudioHardware
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 7c0c252 Add audio tap support (#42)
Cloned https://github.com/sbooth/CAAudioHardware.git
Revision (git rev-parse @):
7c0c2525b69975af3f057e8a02e221c83996bd01
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/CAAudioHardware.git at 0.5.0
Fetching https://github.com/sbooth/CoreAudioExtensions
Fetching https://github.com/sbooth/FourCC
[1/132] Fetching coreaudioextensions
[52/192] Fetching coreaudioextensions, fourcc
Fetched https://github.com/sbooth/FourCC from cache (0.72s)
Fetched https://github.com/sbooth/CoreAudioExtensions from cache (0.72s)
Computing version for https://github.com/sbooth/CoreAudioExtensions
Computed https://github.com/sbooth/CoreAudioExtensions at 0.2.0 (0.67s)
Computing version for https://github.com/sbooth/FourCC
Computed https://github.com/sbooth/FourCC at 0.1.1 (0.67s)
Creating working copy for https://github.com/sbooth/FourCC
Working copy of https://github.com/sbooth/FourCC resolved at 0.1.1
Creating working copy for https://github.com/sbooth/CoreAudioExtensions
Working copy of https://github.com/sbooth/CoreAudioExtensions resolved at 0.2.0
========================================
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/CoreAudioExtensions from cache
Fetching https://github.com/sbooth/FourCC from cache
Fetched https://github.com/sbooth/CoreAudioExtensions from cache (0.47s)
Fetched https://github.com/sbooth/FourCC from cache (0.99s)
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 0.5.0 (7c0c252)
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] Emitting module FourCC
[6/7] Compiling FourCC String+fourCC.swift
[7/7] Compiling FourCC UInt32+fourCC.swift
[8/11] Compiling CoreAudioExtensions AudioValueRange+SFBExtensions.swift
[9/11] Compiling CoreAudioExtensions AudioStreamBasicDescription+SFBExtensions.swift
[10/11] Emitting module CoreAudioExtensions
[11/11] Compiling CoreAudioExtensions AudioChannelLayout+SFBExtensions.swift
[12/48] Compiling CAAudioHardware PropertyQualifier.swift
[13/48] Compiling CAAudioHardware PropertyScope.swift
[14/48] Compiling CAAudioHardware PropertySelector.swift
[15/48] Compiling CAAudioHardware SelectorControl+Item.swift
[16/52] Emitting module CAAudioHardware
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[17/52] Compiling CAAudioHardware BooleanControl.swift
[18/52] Compiling CAAudioHardware LevelControl.swift
[19/52] Compiling CAAudioHardware PropertyAddress.swift
[20/52] Compiling CAAudioHardware PropertyElement.swift
[21/52] Compiling CAAudioHardware AudioSubtap.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[22/52] Compiling CAAudioHardware AudioSystemObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[23/52] Compiling CAAudioHardware AudioTap.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[24/52] Compiling CAAudioHardware AudioTransportManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[25/52] Compiling CAAudioHardware AudioClockDevice.swift
[26/52] Compiling CAAudioHardware AudioControl.swift
[27/52] Compiling CAAudioHardware AudioDevice+ChannelNominalLineLevel.swift
[28/52] Compiling CAAudioHardware AudioDevice+ClockSource.swift
[29/52] Compiling CAAudioHardware AudioObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[30/52] Compiling CAAudioHardware AudioObjectProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[31/52] Compiling CAAudioHardware AudioPlugIn.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[32/52] Compiling CAAudioHardware AudioProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/CAAudioHardware/AudioSystemObject.swift:16: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
12 | /// This class has a single scope (`kAudioObjectPropertyScopeGlobal`) and a single element (`kAudioObjectPropertyElementMain`)
13 | /// - remark: This class correponds to the object with id `kAudioObjectSystemObject` and class `kAudioSystemObjectClassID`
14 | public class AudioSystemObject: AudioObject {
| `- note: class 'AudioSystemObject' does not conform to the 'Sendable' protocol
15 | /// The singleton audio system object
16 | 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
17 |
18 | @available(*, unavailable, message: "Use instance instead")
[33/52] Compiling CAAudioHardware AudioStream+TerminalType.swift
[34/52] Compiling CAAudioHardware AudioStream.swift
[35/52] Compiling CAAudioHardware AudioSubdevice+DriftCompensationQuality.swift
[36/52] Compiling CAAudioHardware AudioSubdevice.swift
[37/52] Compiling CAAudioHardware AudioDevice.swift
[38/52] Compiling CAAudioHardware AudioEndpoint.swift
[39/52] Compiling CAAudioHardware AudioEndpointDevice.swift
[40/52] Compiling CAAudioHardware AudioHardwareIOProcStreamUsageWrapper.swift
[41/52] Compiling CAAudioHardware AudioDevice+DataSource.swift
[42/52] Compiling CAAudioHardware AudioDevice+HighPassFilterSetting.swift
[43/52] Compiling CAAudioHardware AudioDevice+PlayThroughDestination.swift
[44/52] Compiling CAAudioHardware AudioDevice+TransportType.swift
[45/52] Compiling CAAudioHardware AudioAggregateDevice.swift
[46/52] Compiling CAAudioHardware AudioBox.swift
[47/52] Compiling CAAudioHardware AudioBufferListWrapper.swift
[48/52] Compiling CAAudioHardware AudioChannelLayoutWrapper.swift
[49/52] Compiling CAAudioHardware SelectorControl.swift
[50/52] Compiling CAAudioHardware SliderControl.swift
[51/52] Compiling CAAudioHardware StereoPanControl.swift
[52/52] Compiling CAAudioHardware UInt32+hexString.swift
Build complete! (13.85s)
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",
"AudioObjectProperty.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"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/sbooth/caaudiohardware/0.5.0
Repository: sbooth/CAAudioHardware
Swift version used: 6.0
Target: CAAudioHardware
Extracting symbol information for 'CAAudioHardware'...
Finished extracting symbol information for 'CAAudioHardware'. (6.84s)
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 '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: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 '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 '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 '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 '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:57:6-57:59
55 | /// Returns the `AudioObjectID` for the audio plug-in for `bundleID` or `nil` if unknown
56 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToPlugIn`
57 + /// - parameter uid: The bundle ID of the desired plug-in
| ╰─suggestion: Remove 'uid' parameter documentation
58 | public func plugInID(forBundleID bundleID: String) throws -> AudioObjectID? {
59 | var qualifier = bundleID as CFString
warning: Parameter 'bundleID' is missing documentation
--> Sources/CAAudioHardware/AudioSystemObject.swift:57:59-57:59
55 | /// Returns the `AudioObjectID` for the audio plug-in for `bundleID` or `nil` if unknown
56 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToPlugIn`
57 + /// - parameter uid: The bundle ID of the desired plug-in
| ╰─suggestion: Document 'bundleID' parameter
58 | public func plugInID(forBundleID bundleID: String) throws -> AudioObjectID? {
59 | var qualifier = bundleID as CFString
warning: Parameter 'uid' not found in instance method declaration
--> Sources/CAAudioHardware/AudioSystemObject.swift:69:6-69:69
67 | /// Returns the `AudioObjectID` for the audio transport manager for `bundleID` or `nil` if unknown
68 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToTransportManager`
69 + /// - parameter uid: The bundle ID of the desired transport manager
| ╰─suggestion: Remove 'uid' parameter documentation
70 | public func transportManagerID(forBundleID bundleID: String) throws -> AudioObjectID? {
71 | var qualifier = bundleID as CFString
warning: Parameter 'bundleID' is missing documentation
--> Sources/CAAudioHardware/AudioSystemObject.swift:69:69-69:69
67 | /// Returns the `AudioObjectID` for the audio transport manager for `bundleID` or `nil` if unknown
68 | /// - remark: This corresponds to the property `kAudioHardwarePropertyTranslateBundleIDToTransportManager`
69 + /// - parameter uid: The bundle ID of the desired transport manager
| ╰─suggestion: Document 'bundleID' parameter
70 | public func transportManagerID(forBundleID bundleID: String) throws -> AudioObjectID? {
71 | var qualifier = bundleID as CFStringFinished building documentation for 'CAAudioHardware' (0.51s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/sbooth/caaudiohardware/0.5.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/sbooth/FourCC
Updated https://github.com/sbooth/FourCC (0.54s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/sbooth/CoreAudioExtensions
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.41s)
Updated https://github.com/sbooth/CoreAudioExtensions (0.49s)
Computing version for https://github.com/sbooth/CoreAudioExtensions
Computed https://github.com/sbooth/CoreAudioExtensions at 0.2.0 (0.63s)
Computing version for https://github.com/sbooth/FourCC
Computed https://github.com/sbooth/FourCC at 0.1.1 (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.60s)
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.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
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] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit GenericConstraint.swift
[18/57] Compiling SymbolKit GenericParameter.swift
[19/57] Compiling SymbolKit Generics.swift
[20/57] Compiling SymbolKit Namespace.swift
[21/57] Compiling SymbolKit Names.swift
[22/57] Compiling SymbolKit SPI.swift
[23/57] Compiling SymbolKit Snippet.swift
[24/57] Compiling SymbolKit Extension.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SemanticVersion.swift
[40/57] Compiling SymbolKit AccessControl.swift
[41/57] Compiling SymbolKit Availability.swift
[42/57] Compiling SymbolKit AvailabilityItem.swift
[43/57] Compiling SymbolKit Domain.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 Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract SnippetBuildCommand.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.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.78s)
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] Emitting module CoreAudioExtensions
[7/8] Compiling CoreAudioExtensions AudioChannelLayout+SFBExtensions.swift
[8/8] Compiling CoreAudioExtensions AudioStreamBasicDescription+SFBExtensions.swift
[9/45] Compiling CAAudioHardware BooleanControl.swift
[10/45] Compiling CAAudioHardware LevelControl.swift
[11/45] Compiling CAAudioHardware PropertyAddress.swift
[12/45] Compiling CAAudioHardware PropertyElement.swift
[13/49] Compiling CAAudioHardware AudioStream+TerminalType.swift
[14/49] Compiling CAAudioHardware AudioStream.swift
[15/49] Compiling CAAudioHardware AudioSubdevice+DriftCompensationQuality.swift
[16/49] Compiling CAAudioHardware AudioSubdevice.swift
[17/49] Compiling CAAudioHardware AudioDevice+DataSource.swift
[18/49] Compiling CAAudioHardware AudioDevice+HighPassFilterSetting.swift
[19/49] Compiling CAAudioHardware AudioDevice+PlayThroughDestination.swift
[20/49] Compiling CAAudioHardware AudioDevice+TransportType.swift
[21/49] Compiling CAAudioHardware PropertyQualifier.swift
[22/49] Compiling CAAudioHardware PropertyScope.swift
[23/49] Compiling CAAudioHardware PropertySelector.swift
[24/49] Compiling CAAudioHardware SelectorControl+Item.swift
[25/49] Compiling CAAudioHardware AudioAggregateDevice.swift
[26/49] Compiling CAAudioHardware AudioBox.swift
[27/49] Compiling CAAudioHardware AudioBufferListWrapper.swift
[28/49] Compiling CAAudioHardware AudioChannelLayoutWrapper.swift
[29/49] Compiling CAAudioHardware AudioSubtap.swift
[30/49] Compiling CAAudioHardware AudioSystemObject.swift
[31/49] Compiling CAAudioHardware AudioTap.swift
[32/49] Compiling CAAudioHardware AudioTransportManager.swift
[33/49] Compiling CAAudioHardware AudioClockDevice.swift
[34/49] Compiling CAAudioHardware AudioControl.swift
[35/49] Compiling CAAudioHardware AudioDevice+ChannelNominalLineLevel.swift
[36/49] Compiling CAAudioHardware AudioDevice+ClockSource.swift
[37/49] Emitting module CAAudioHardware
[38/49] Compiling CAAudioHardware AudioDevice.swift
[39/49] Compiling CAAudioHardware AudioEndpoint.swift
[40/49] Compiling CAAudioHardware AudioEndpointDevice.swift
[41/49] Compiling CAAudioHardware AudioHardwareIOProcStreamUsageWrapper.swift
[42/49] Compiling CAAudioHardware AudioObject.swift
[43/49] Compiling CAAudioHardware AudioObjectProperty.swift
[44/49] Compiling CAAudioHardware AudioPlugIn.swift
[45/49] Compiling CAAudioHardware AudioProcess.swift
[46/49] Compiling CAAudioHardware SelectorControl.swift
[47/49] Compiling CAAudioHardware SliderControl.swift
[48/49] Compiling CAAudioHardware StereoPanControl.swift
[49/49] Compiling CAAudioHardware UInt32+hexString.swift
Build of target: 'CAAudioHardware' complete! (3.48s)
1820
12 /Users/admin/builder/spi-builder-workspace/.docs/sbooth/caaudiohardware/0.5.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sbooth/caaudiohardware/0.5.0
File count: 1820
Doc size: 12.0MB
Preparing doc bundle ...
Uploading prod-sbooth-caaudiohardware-0.5.0-511559ea.zip to s3://spi-docs-inbox/prod-sbooth-caaudiohardware-0.5.0-511559ea.zip
Copying... [10%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [72%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.