Build Information
Successful build of SwiftAdditions, reference 1.0.0 (42ebfc), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 01:33:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maddthesane/swiftmactypes.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maddthesane/swiftmactypes
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 42ebfc2 Make the Audio additions build with 'swift build' again. Added a new Swift file that emulates the SAAError header. It's mostly a hack.
Cloned https://github.com/maddthesane/swiftmactypes.git
Revision (git rev-parse @):
42ebfc2a1207f4d497fc193e75fb5f2470664cc3
SUCCESS checkout https://github.com/maddthesane/swiftmactypes.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/maddthesane/swiftmactypes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/14] Compiling SwiftAdditions COMUUIDs.swift
[5/14] Compiling SwiftAdditions CocoaComparable.swift
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/CocoaComparable.swift:31:1: warning: extension declares a conformance of imported type 'NSNumber' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
29 | }
30 |
31 | extension NSNumber: CocoaComparable {
| |- warning: extension declares a conformance of imported type 'NSNumber' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
32 | }
33 |
[6/14] Compiling SwiftAdditions AppleScriptFoundation.swift
[7/15] Compiling SwiftAdditions QuickLook.swift
[8/15] Compiling SwiftAdditions AdditionalAdditions.swift
[9/15] Compiling SwiftAdditions AppKit.swift
[10/15] Emitting module SwiftAdditions
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/CocoaComparable.swift:31:1: warning: extension declares a conformance of imported type 'NSNumber' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
29 | }
30 |
31 | extension NSNumber: CocoaComparable {
| |- warning: extension declares a conformance of imported type 'NSNumber' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/FoundationTypesAdditions.swift:318:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
316 | #if os(OSX)
317 | @available(OSX, introduced: 10.10)
318 | extension NSEdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
319 | public static var zero: NSEdgeInsets {
320 | return NSEdgeInsetsZero
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/MacTypesAdditions.swift:347:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
345 | }
346 |
347 | extension OSType: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
348 | /// Encodes the passed `String` value to an `OSType`.
349 | ///
[11/15] Compiling SwiftAdditions CoreGraphics.swift
[12/15] Compiling SwiftAdditions Characters.swift
[13/15] Compiling SwiftAdditions Endianness.swift
[14/15] Compiling SwiftAdditions MacTypesAdditions.swift
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/MacTypesAdditions.swift:347:1: warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
345 | }
346 |
347 | extension OSType: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'UInt32' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
348 | /// Encodes the passed `String` value to an `OSType`.
349 | ///
[15/15] Compiling SwiftAdditions FoundationTypesAdditions.swift
/Users/admin/builder/spi-builder-workspace/SwiftAdditions/FoundationTypesAdditions.swift:318:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
316 | #if os(OSX)
317 | @available(OSX, introduced: 10.10)
318 | extension NSEdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
319 | public static var zero: NSEdgeInsets {
320 | return NSEdgeInsetsZero
[16/24] Compiling SwiftAudioAdditions AudioFileFormats.swift
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileFormats.swift:219:122: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<CFString>'; this is likely incorrect because 'Optional<CFString>' may contain an object reference.
217 | size = UInt32(MemoryLayout<CFString>.size)
218 | var fileName: CFString? = nil
219 | err = AudioFileGetGlobalInfo(kAudioFileGlobalInfo_FileTypeName, UInt32(MemoryLayout<UInt32>.size), &filetype, &size, &fileName)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<CFString>'; this is likely incorrect because 'Optional<CFString>' may contain an object reference.
220 | if let fileName2 = fileName as String? {
221 | ffi.fileTypeName = fileName2
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileFormats.swift:229:127: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<CFArray>'; this is likely incorrect because 'Optional<CFArray>' may contain an object reference.
227 | size = UInt32(MemoryLayout<CFArray>.size)
228 | var extensions: CFArray? = nil
229 | err = AudioFileGetGlobalInfo(kAudioFileGlobalInfo_ExtensionsForType, UInt32(MemoryLayout<UInt32>.size), &filetype, &size, &extensions)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<CFArray>'; this is likely incorrect because 'Optional<CFArray>' may contain an object reference.
230 | if let ext2 = extensions as? [String] {
231 | ffi.extensions = ext2
[17/24] Compiling SwiftAudioAdditions AudioUnit.swift
[18/24] Compiling SwiftAudioAdditions AudioFileClass.swift
[19/24] Compiling SwiftAudioAdditions ExtAudioFileClass.swift
[20/24] Compiling SwiftAudioAdditions CoreAudioError.swift
[21/24] Compiling SwiftAudioAdditions ExtAudioFileExt.swift
[22/24] Emitting module SwiftAudioAdditions
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:223:2: warning: 'public' modifier is redundant for property declared in a public extension
221 | ///
222 | /// Is `true` if the audio is in the native endian, `false` if not, and `nil` if the `formatID` isn't `.linearPCM`.
223 | public var audioFormatNativeEndian: Bool? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
224 | if formatID == .linearPCM {
225 | let ourFlags = formatFlags.intersection(.bigEndian)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:235:2: warning: 'public' modifier is redundant for property declared in a public extension
233 | }
234 |
235 | public var formatID: AudioFormat {
| `- warning: 'public' modifier is redundant for property declared in a public extension
236 | get {
237 | if let aFormat = AudioFormat(rawValue: mFormatID) {
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:248:2: warning: 'public' modifier is redundant for property declared in a public extension
246 | }
247 |
248 | public var formatFlags: AudioFormatFlag {
| `- warning: 'public' modifier is redundant for property declared in a public extension
249 | get {
250 | return AudioFormatFlag(rawValue: mFormatFlags)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:257:2: warning: 'public' modifier is redundant for initializer declared in a public extension
255 | }
256 |
257 | public init(sampleRate: Float64, formatID: AudioFormat = .linearPCM, formatFlags: AudioFormatFlag = .nativeFloatPacked, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
258 | let bytesPerFrame = bitsPerChannel * channelsPerFrame / 8
259 | self.init(mSampleRate: sampleRate, mFormatID: formatID.rawValue, mFormatFlags: formatFlags.rawValue, mBytesPerPacket: bytesPerFrame * framesPerPacket, mFramesPerPacket: framesPerPacket, mBytesPerFrame: bytesPerFrame, mChannelsPerFrame: channelsPerFrame, mBitsPerChannel: bitsPerChannel, mReserved: 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:263:2: warning: 'public' modifier is redundant for initializer declared in a public extension
261 |
262 | @available(*, deprecated, message: "AudioFormatID and AudioFormatFlags constants should now be typed correctly")
263 | public init(sampleRate: Float64, formatID: Int, formatFlags: Int, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
264 | self.init()
265 | mSampleRate = sampleRate
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:276:2: warning: 'public' modifier is redundant for initializer declared in a public extension
274 | }
275 |
276 | public init(sampleRate: Float64, formatID: AudioFormatID, formatFlags: AudioFormatFlags, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
277 | let bytesPerFrame = bitsPerChannel * channelsPerFrame / 8
278 | self.init(mSampleRate: sampleRate, mFormatID: formatID, mFormatFlags: formatFlags, mBytesPerPacket: bytesPerFrame * framesPerPacket, mFramesPerPacket: framesPerPacket, mBytesPerFrame: bytesPerFrame, mChannelsPerFrame: channelsPerFrame, mBitsPerChannel: bitsPerChannel, mReserved: 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:285:2: warning: 'public' modifier is redundant for property declared in a public extension
283 | // The following getters/functions are from Apple's CoreAudioUtilityClasses
284 |
285 | public var isPCM: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
286 | return mFormatID == kAudioFormatLinearPCM
287 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:289:2: warning: 'public' modifier is redundant for property declared in a public extension
287 | }
288 |
289 | public var isInterleaved: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
290 | return !isPCM || !formatFlags.contains(.nonInterleaved)
291 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:293:2: warning: 'public' modifier is redundant for property declared in a public extension
291 | }
292 |
293 | public var isSignedInteger: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
294 | return isPCM && (mFormatFlags & kAudioFormatFlagIsSignedInteger) != 0
295 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:297:2: warning: 'public' modifier is redundant for property declared in a public extension
295 | }
296 |
297 | public var isFloat: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
298 | return isPCM && (mFormatFlags & kAudioFormatFlagIsFloat) != 0
299 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:302:2: warning: 'public' modifier is redundant for property declared in a public extension
300 |
301 | @available(*, deprecated, renamed: "isInterleaved")
302 | public var interleaved: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
303 | return isInterleaved
304 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:307:2: warning: 'public' modifier is redundant for property declared in a public extension
305 |
306 | @available(*, deprecated, renamed: "isSignedInteger")
307 | public var signedInteger: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
308 | return isSignedInteger
309 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:312:2: warning: 'public' modifier is redundant for property declared in a public extension
310 |
311 | @available(*, deprecated, renamed: "isFloat")
312 | public var float: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
313 | return isFloat
314 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:316:2: warning: 'public' modifier is redundant for property declared in a public extension
314 | }
315 |
316 | public var interleavedChannels: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
317 | return isInterleaved ? mChannelsPerFrame : 1
318 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:320:2: warning: 'public' modifier is redundant for property declared in a public extension
318 | }
319 |
320 | public var channelStreams: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
321 | return isInterleaved ? 1 : mChannelsPerFrame
322 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | }
323 |
324 | public func framesToBytes(_ nframes: UInt32) -> UInt32 {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return nframes * mBytesPerFrame
326 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:328:2: warning: 'public' modifier is redundant for property declared in a public extension
326 | }
327 |
328 | public var sampleWordSize: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
329 | return (mBytesPerFrame > 0 && interleavedChannels != 0) ? mBytesPerFrame / interleavedChannels : 0;
330 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:333:2: warning: 'public' modifier is redundant for property declared in a public extension
331 |
332 | @available(*, unavailable, renamed: "isPackednessSignificant")
333 | public var packednessIsSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
334 | fatalError()
335 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:338:2: warning: 'public' modifier is redundant for property declared in a public extension
336 |
337 | @available(*, unavailable, renamed: "isAlignmentSignificant")
338 | public var alignmentIsSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
339 | fatalError()
340 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:343:2: warning: 'public' modifier is redundant for property declared in a public extension
341 |
342 | /// The audio format must be PCM, otherwise this won't work!
343 | public var isPackednessSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
344 | precondition(isPCM, "isPackednessSignificant only applies for PCM")
345 | return (sampleWordSize << 3) != mBitsPerChannel
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:349:2: warning: 'public' modifier is redundant for property declared in a public extension
347 |
348 | /// The audio format must be PCM, otherwise this won't work!
349 | public var isAlignmentSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
350 | return isPackednessSignificant || (mBitsPerChannel & 7) != 0
351 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:353:2: warning: 'public' modifier is redundant for enum declared in a public extension
351 | }
352 |
353 | public enum ASBDError: Error, CustomStringConvertible {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
354 | case reqiresPCMFormat
355 | case extraCharactersAtEnd(Substring)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:384:2: warning: 'public' modifier is redundant for instance method declared in a public extension
382 | }
383 |
384 | public mutating func changeCountOfChannels(nChannels: UInt32, interleaved: Bool) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
385 | guard isPCM else {
386 | throw ASBDError.reqiresPCMFormat
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:413:2: warning: 'public' modifier is redundant for instance method declared in a public extension
411 | /// It is very conservative so even some very unlikely values will pass.
412 | /// This is just meant to catch the case where the data from a file is corrupted.
413 | public func checkSanity() -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
414 | return
415 | (mSampleRate >= 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:428:2: warning: 'public' modifier is redundant for initializer declared in a public extension
426 | /// format[@sample_rate_hz][/format_flags][#frames_per_packet][:LHbytesPerFrame][,channelsDI].<br>
427 | /// Format for PCM is [-][BE|LE]{F|I|UI}{bitdepth}; else a 4-char format code (e.g. `aac`, `alac`).
428 | public init(fromText: String) throws {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
429 | var charIterator = fromText.startIndex
430 |
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:699:1: warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
697 | }
698 |
699 | extension AudioStreamBasicDescription: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
700 | public var description: String {
701 | let formatID = CAStringForOSType(mFormatID)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:818:1: warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocols 'Comparable', 'Equatable'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
816 | }
817 |
818 | extension AudioStreamBasicDescription: Comparable {
| |- warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocols 'Comparable', 'Equatable'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
819 | /// Returns `true` if both `AudioStreamBasicDescription`s are exactly the same.
820 | public static func ===(lhs: AudioStreamBasicDescription, rhs: AudioStreamBasicDescription) -> Bool {
[23/24] Compiling SwiftAudioAdditions AudioFileExt.swift
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:223:2: warning: 'public' modifier is redundant for property declared in a public extension
221 | ///
222 | /// Is `true` if the audio is in the native endian, `false` if not, and `nil` if the `formatID` isn't `.linearPCM`.
223 | public var audioFormatNativeEndian: Bool? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
224 | if formatID == .linearPCM {
225 | let ourFlags = formatFlags.intersection(.bigEndian)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:235:2: warning: 'public' modifier is redundant for property declared in a public extension
233 | }
234 |
235 | public var formatID: AudioFormat {
| `- warning: 'public' modifier is redundant for property declared in a public extension
236 | get {
237 | if let aFormat = AudioFormat(rawValue: mFormatID) {
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:248:2: warning: 'public' modifier is redundant for property declared in a public extension
246 | }
247 |
248 | public var formatFlags: AudioFormatFlag {
| `- warning: 'public' modifier is redundant for property declared in a public extension
249 | get {
250 | return AudioFormatFlag(rawValue: mFormatFlags)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:257:2: warning: 'public' modifier is redundant for initializer declared in a public extension
255 | }
256 |
257 | public init(sampleRate: Float64, formatID: AudioFormat = .linearPCM, formatFlags: AudioFormatFlag = .nativeFloatPacked, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
258 | let bytesPerFrame = bitsPerChannel * channelsPerFrame / 8
259 | self.init(mSampleRate: sampleRate, mFormatID: formatID.rawValue, mFormatFlags: formatFlags.rawValue, mBytesPerPacket: bytesPerFrame * framesPerPacket, mFramesPerPacket: framesPerPacket, mBytesPerFrame: bytesPerFrame, mChannelsPerFrame: channelsPerFrame, mBitsPerChannel: bitsPerChannel, mReserved: 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:263:2: warning: 'public' modifier is redundant for initializer declared in a public extension
261 |
262 | @available(*, deprecated, message: "AudioFormatID and AudioFormatFlags constants should now be typed correctly")
263 | public init(sampleRate: Float64, formatID: Int, formatFlags: Int, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
264 | self.init()
265 | mSampleRate = sampleRate
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:276:2: warning: 'public' modifier is redundant for initializer declared in a public extension
274 | }
275 |
276 | public init(sampleRate: Float64, formatID: AudioFormatID, formatFlags: AudioFormatFlags, bitsPerChannel: UInt32, channelsPerFrame: UInt32, framesPerPacket: UInt32 = 1) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
277 | let bytesPerFrame = bitsPerChannel * channelsPerFrame / 8
278 | self.init(mSampleRate: sampleRate, mFormatID: formatID, mFormatFlags: formatFlags, mBytesPerPacket: bytesPerFrame * framesPerPacket, mFramesPerPacket: framesPerPacket, mBytesPerFrame: bytesPerFrame, mChannelsPerFrame: channelsPerFrame, mBitsPerChannel: bitsPerChannel, mReserved: 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:285:2: warning: 'public' modifier is redundant for property declared in a public extension
283 | // The following getters/functions are from Apple's CoreAudioUtilityClasses
284 |
285 | public var isPCM: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
286 | return mFormatID == kAudioFormatLinearPCM
287 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:289:2: warning: 'public' modifier is redundant for property declared in a public extension
287 | }
288 |
289 | public var isInterleaved: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
290 | return !isPCM || !formatFlags.contains(.nonInterleaved)
291 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:293:2: warning: 'public' modifier is redundant for property declared in a public extension
291 | }
292 |
293 | public var isSignedInteger: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
294 | return isPCM && (mFormatFlags & kAudioFormatFlagIsSignedInteger) != 0
295 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:297:2: warning: 'public' modifier is redundant for property declared in a public extension
295 | }
296 |
297 | public var isFloat: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
298 | return isPCM && (mFormatFlags & kAudioFormatFlagIsFloat) != 0
299 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:302:2: warning: 'public' modifier is redundant for property declared in a public extension
300 |
301 | @available(*, deprecated, renamed: "isInterleaved")
302 | public var interleaved: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
303 | return isInterleaved
304 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:307:2: warning: 'public' modifier is redundant for property declared in a public extension
305 |
306 | @available(*, deprecated, renamed: "isSignedInteger")
307 | public var signedInteger: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
308 | return isSignedInteger
309 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:312:2: warning: 'public' modifier is redundant for property declared in a public extension
310 |
311 | @available(*, deprecated, renamed: "isFloat")
312 | public var float: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
313 | return isFloat
314 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:316:2: warning: 'public' modifier is redundant for property declared in a public extension
314 | }
315 |
316 | public var interleavedChannels: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
317 | return isInterleaved ? mChannelsPerFrame : 1
318 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:320:2: warning: 'public' modifier is redundant for property declared in a public extension
318 | }
319 |
320 | public var channelStreams: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
321 | return isInterleaved ? 1 : mChannelsPerFrame
322 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:324:2: warning: 'public' modifier is redundant for instance method declared in a public extension
322 | }
323 |
324 | public func framesToBytes(_ nframes: UInt32) -> UInt32 {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
325 | return nframes * mBytesPerFrame
326 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:328:2: warning: 'public' modifier is redundant for property declared in a public extension
326 | }
327 |
328 | public var sampleWordSize: UInt32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
329 | return (mBytesPerFrame > 0 && interleavedChannels != 0) ? mBytesPerFrame / interleavedChannels : 0;
330 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:333:2: warning: 'public' modifier is redundant for property declared in a public extension
331 |
332 | @available(*, unavailable, renamed: "isPackednessSignificant")
333 | public var packednessIsSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
334 | fatalError()
335 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:338:2: warning: 'public' modifier is redundant for property declared in a public extension
336 |
337 | @available(*, unavailable, renamed: "isAlignmentSignificant")
338 | public var alignmentIsSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
339 | fatalError()
340 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:343:2: warning: 'public' modifier is redundant for property declared in a public extension
341 |
342 | /// The audio format must be PCM, otherwise this won't work!
343 | public var isPackednessSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
344 | precondition(isPCM, "isPackednessSignificant only applies for PCM")
345 | return (sampleWordSize << 3) != mBitsPerChannel
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:349:2: warning: 'public' modifier is redundant for property declared in a public extension
347 |
348 | /// The audio format must be PCM, otherwise this won't work!
349 | public var isAlignmentSignificant: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
350 | return isPackednessSignificant || (mBitsPerChannel & 7) != 0
351 | }
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:353:2: warning: 'public' modifier is redundant for enum declared in a public extension
351 | }
352 |
353 | public enum ASBDError: Error, CustomStringConvertible {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
354 | case reqiresPCMFormat
355 | case extraCharactersAtEnd(Substring)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:384:2: warning: 'public' modifier is redundant for instance method declared in a public extension
382 | }
383 |
384 | public mutating func changeCountOfChannels(nChannels: UInt32, interleaved: Bool) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
385 | guard isPCM else {
386 | throw ASBDError.reqiresPCMFormat
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:413:2: warning: 'public' modifier is redundant for instance method declared in a public extension
411 | /// It is very conservative so even some very unlikely values will pass.
412 | /// This is just meant to catch the case where the data from a file is corrupted.
413 | public func checkSanity() -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
414 | return
415 | (mSampleRate >= 0)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:428:2: warning: 'public' modifier is redundant for initializer declared in a public extension
426 | /// format[@sample_rate_hz][/format_flags][#frames_per_packet][:LHbytesPerFrame][,channelsDI].<br>
427 | /// Format for PCM is [-][BE|LE]{F|I|UI}{bitdepth}; else a 4-char format code (e.g. `aac`, `alac`).
428 | public init(fromText: String) throws {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
429 | var charIterator = fromText.startIndex
430 |
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:699:1: warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
697 | }
698 |
699 | extension AudioStreamBasicDescription: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
700 | public var description: String {
701 | let formatID = CAStringForOSType(mFormatID)
/Users/admin/builder/spi-builder-workspace/SwiftAudioAdditions/AudioFileExt.swift:818:1: warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocols 'Comparable', 'Equatable'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
816 | }
817 |
818 | extension AudioStreamBasicDescription: Comparable {
| |- warning: extension declares a conformance of imported type 'AudioStreamBasicDescription' to imported protocols 'Comparable', 'Equatable'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
819 | /// Returns `true` if both `AudioStreamBasicDescription`s are exactly the same.
820 | public static func ===(lhs: AudioStreamBasicDescription, rhs: AudioStreamBasicDescription) -> Bool {
[24/24] Compiling SwiftAudioAdditions AUOutputBL.swift
Build complete! (9.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftAdditions",
"name" : "SwiftAdditions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftAdditions",
"targets" : [
"SwiftAdditions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAudioAdditions",
"targets" : [
"SwiftAudioAdditions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftAudioAdditionsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAudioAdditionsTests",
"path" : "SwiftAudioAdditionsTests",
"sources" : [
"SwiftAudioAdditionsTests.swift"
],
"target_dependencies" : [
"SwiftAdditions",
"SwiftAudioAdditions"
],
"type" : "test"
},
{
"c99name" : "SwiftAudioAdditions",
"module_type" : "SwiftTarget",
"name" : "SwiftAudioAdditions",
"path" : "SwiftAudioAdditions",
"product_memberships" : [
"SwiftAudioAdditions"
],
"sources" : [
"AUOutputBL.swift",
"AudioFileClass.swift",
"AudioFileExt.swift",
"AudioFileFormats.swift",
"AudioUnit.swift",
"CoreAudioError.swift",
"ExtAudioFileClass.swift",
"ExtAudioFileExt.swift"
],
"target_dependencies" : [
"SwiftAdditions"
],
"type" : "library"
},
{
"c99name" : "SwiftAdditionsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAdditionsTests",
"path" : "SwiftAdditionsTests",
"sources" : [
"CharacterAdditionsTests.swift",
"MacAdditionsTests.swift",
"SwiftAdditionsTests.swift"
],
"target_dependencies" : [
"SwiftAdditions"
],
"type" : "test"
},
{
"c99name" : "SwiftAdditions",
"module_type" : "SwiftTarget",
"name" : "SwiftAdditions",
"path" : "SwiftAdditions",
"product_memberships" : [
"SwiftAdditions",
"SwiftAudioAdditions"
],
"sources" : [
"AdditionalAdditions.swift",
"AppKit.swift",
"AppleScriptFoundation.swift",
"COMUUIDs.swift",
"Characters.swift",
"CocoaComparable.swift",
"CoreGraphics.swift",
"Endianness.swift",
"FoundationTypesAdditions.swift",
"MacTypesAdditions.swift",
"QuickLook.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.