The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatsonDeveloperCloud, reference v5.0.0 (8359f8), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 09:59:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: v5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/watson-developer-cloud/swift-sdk
 * tag               v5.0.0     -> FETCH_HEAD
HEAD is now at 8359f8d Update to 5.0.0 (#1067)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
8359f8d2000c53d11d0757d5413f411ac34fac4e
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at v5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Write sources
[4/13] Copying PrivacyInfo.xcprivacy
[7/13] Write sources
[11/13] Write swift-version-1EA4D86E10B52AF.txt
[12/46] Compiling Copustools opus_header.c
[14/46] Compiling IBMSwiftSDKCore RestError.swift
[15/46] Compiling IBMSwiftSDKCore JSON.swift
[16/46] Compiling IBMSwiftSDKCore MultipartFormData.swift
[17/46] Compiling IBMSwiftSDKCore RestRequest.swift
[18/47] Emitting module Starscream
[19/49] Compiling Starscream Framer.swift
[20/49] Compiling Starscream HTTPHandler.swift
[21/49] Compiling IBMSwiftSDKCore CodableExtensions.swift
[22/49] Compiling Starscream WSEngine.swift
[23/49] Compiling IBMSwiftSDKCore CredentialUtils.swift
[24/49] Compiling Starscream FoundationHTTPHandler.swift
[25/49] Compiling Starscream Compression.swift
[26/49] Compiling Starscream WSCompression.swift
[27/49] Compiling Starscream Data+Extensions.swift
[31/49] Compiling Starscream FoundationHTTPServerHandler.swift
[32/49] Compiling Starscream Engine.swift
[33/49] Compiling Starscream FrameCollector.swift
[35/49] Emitting module IBMSwiftSDKCore
[36/49] Compiling Starscream NativeEngine.swift
[39/49] Compiling Starscream FoundationTransport.swift
[40/49] Compiling Starscream TCPTransport.swift
[41/49] Compiling Starscream Security.swift
[42/49] Compiling Starscream Server.swift
[43/49] Compiling Starscream WebSocketServer.swift
[44/49] Compiling Starscream WebSocket.swift
[45/49] Compiling Starscream StringHTTPHandler.swift
[46/49] Compiling Starscream FoundationSecurity.swift
[47/49] Compiling IBMSwiftSDKCore RestResponse.swift
[48/49] Compiling Starscream Transport.swift
[49/49] Compiling Starscream resource_bundle_accessor.swift
[50/524] Compiling LanguageTranslatorV3 TranslationResult.swift
[51/525] Compiling DiscoveryV1 DiskUsage.swift
[52/525] Compiling DiscoveryV1 DocumentAccepted.swift
[53/527] Compiling LanguageTranslatorV3 TranslationModel.swift
[54/527] Compiling LanguageTranslatorV3 TranslationModels.swift
[55/527] Compiling DiscoveryV1 SourceOptions.swift
[56/527] Compiling DiscoveryV1 CredentialDetails.swift
[57/527] Compiling DiscoveryV1 SduStatusCustomFields.swift
[58/527] Compiling DiscoveryV1 SearchStatus.swift
[59/527] Compiling DiscoveryV1 SegmentSettings.swift
[60/527] Compiling DiscoveryV1 Source.swift
[61/527] Compiling DiscoveryV1 QueryTopHitsAggregation.swift
[62/527] Compiling DiscoveryV1 QueryTopHitsAggregationResult.swift
[63/527] Compiling DiscoveryV1 RetrievalDetails.swift
[64/527] Compiling DiscoveryV1 SduStatus.swift
[65/527] Compiling DiscoveryV1 Credentials.swift
[66/527] Compiling DiscoveryV1 CredentialsList.swift
[73/527] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[74/527] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[79/527] Compiling DiscoveryV1 DeleteCredentials.swift
[80/527] Compiling DiscoveryV1 DeleteDocumentResponse.swift
[81/527] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[82/527] Compiling LanguageTranslatorV3 Shared.swift
[83/527] Compiling DiscoveryV1 QueryTimesliceAggregation.swift
[84/527] Compiling DiscoveryV1 QueryTimesliceAggregationResult.swift
[85/527] Emitting module LanguageTranslatorV3
[86/527] Compiling DiscoveryV1 QueryPassages.swift
[87/527] Compiling DiscoveryV1 QueryResponse.swift
[88/527] Compiling DiscoveryV1 QueryResult.swift
[89/527] Compiling DiscoveryV1 QueryResultMetadata.swift
[90/527] Compiling DiscoveryV1 QueryTermAggregation.swift
[91/527] Compiling DiscoveryV1 QueryTermAggregationResult.swift
[92/533] Compiling DiscoveryV1 Conversions.swift
[93/533] Compiling DiscoveryV1 CreateEventResponse.swift
[94/533] Compiling DiscoveryV1 LogQueryResponseResultDocumentsResult.swift
[95/533] Compiling DiscoveryV1 MetricAggregation.swift
[96/533] Compiling DiscoveryV1 MetricAggregationResult.swift
[97/533] Compiling DiscoveryV1 MetricResponse.swift
[98/533] Compiling DiscoveryV1 MetricTokenAggregation.swift
[99/533] Compiling DiscoveryV1 MetricTokenAggregationResult.swift
[100/533] Compiling DiscoveryV1 MetricTokenResponse.swift
[101/533] Compiling DiscoveryV1 NluEnrichmentConcepts.swift
[102/533] Compiling DiscoveryV1 NluEnrichmentEmotion.swift
[103/533] Compiling DiscoveryV1 NluEnrichmentEntities.swift
[104/533] Compiling DiscoveryV1 NluEnrichmentFeatures.swift
[105/533] Compiling DiscoveryV1 QueryHistogramAggregation.swift
[106/533] Compiling DiscoveryV1 QueryHistogramAggregationResult.swift
[107/533] Compiling DiscoveryV1 QueryNestedAggregation.swift
[108/533] Compiling DiscoveryV1 QueryNoticesResponse.swift
[109/533] Compiling DiscoveryV1 QueryNoticesResult.swift
[110/533] Compiling DiscoveryV1 Collection.swift
[111/533] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[112/533] Compiling DiscoveryV1 CollectionDiskUsage.swift
[113/533] Compiling DiscoveryV1 CollectionUsage.swift
[114/533] Compiling DiscoveryV1 Completions.swift
[115/533] Compiling DiscoveryV1 Configuration.swift
[118/533] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[119/533] Compiling TextToSpeechV1 WAVRepair.swift
[120/533] Compiling DiscoveryV1 InsecureConnection.swift
[121/533] Compiling DiscoveryV1 AggregationResult.swift
[134/533] Emitting module AssistantV2
[135/540] Emitting module TextToSpeechV1
[151/540] Compiling NaturalLanguageUnderstandingV1 SyntaxResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer [#TemporaryPointers]
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer [#TemporaryPointers]
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/IBM/swift-sdk-core
[1/988] Fetching swift-sdk-core
[456/6021] Fetching swift-sdk-core, starscream
Fetched https://github.com/IBM/swift-sdk-core from cache (1.22s)
Fetched https://github.com/daltoniam/Starscream from cache (1.22s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (3.07s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.48s)
Creating working copy for https://github.com/IBM/swift-sdk-core
Working copy of https://github.com/IBM/swift-sdk-core resolved at 1.2.1
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AssistantV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
BUILD FAILURE 6.2 macosSpm