The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatsonDeveloperCloud, reference master (f85f16), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 08:35:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/watson-developer-cloud/swift-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f85f164 chore: deprecation notice (#1077)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
f85f1649a1354957284def2ebd6beb4f68d8a61b
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at master
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/IBM/swift-sdk-core
[1/988] Fetching swift-sdk-core
[169/6096] Fetching swift-sdk-core, starscream
Fetched https://github.com/daltoniam/Starscream from cache (1.11s)
Fetched https://github.com/IBM/swift-sdk-core from cache (1.11s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (3.43s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.65s)
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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-sdk",
      "name": "WatsonDeveloperCloud",
      "url": "https://github.com/watson-developer-cloud/swift-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-sdk-core",
          "name": "IBMSwiftSDKCore",
          "url": "https://github.com/IBM/swift-sdk-core",
          "version": "1.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk-core",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "starscream",
          "name": "Starscream",
          "url": "https://github.com/daltoniam/Starscream",
          "version": "4.0.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/watson-developer-cloud/swift-sdk.git
[1/79701] Fetching swift-sdk
Fetched https://github.com/watson-developer-cloud/swift-sdk.git from cache (13.44s)
Fetching https://github.com/daltoniam/Starscream from cache
Fetching https://github.com/IBM/swift-sdk-core from cache
Fetched https://github.com/IBM/swift-sdk-core from cache (0.64s)
Fetched https://github.com/daltoniam/Starscream from cache (0.64s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (0.72s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.04s)
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
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/watson-developer-cloud/swift-sdk.git
Working copy of https://github.com/watson-developer-cloud/swift-sdk.git resolved at master (f85f164)
warning: '.resolve-product-dependencies': dependency 'swift-sdk' is not used by any target
Found 2 product dependencies
  - IBMSwiftSDKCore
  - Starscream
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/13] Copying PrivacyInfo.xcprivacy
[1/13] Write sources
[11/13] Write swift-version--6988338F2F200930.txt
[12/13] Compiling Copustools opus_header.c
[14/46] Compiling Starscream Framer.swift
[15/46] Compiling Starscream HTTPHandler.swift
[16/48] Compiling Starscream FoundationHTTPServerHandler.swift
[17/48] Compiling Starscream FrameCollector.swift
[18/48] Compiling Starscream StringHTTPHandler.swift
[19/48] Compiling Starscream FoundationSecurity.swift
[20/48] Compiling Starscream WSEngine.swift
[21/48] Compiling Starscream FoundationHTTPHandler.swift
[22/48] Emitting module IBMSwiftSDKCore
[23/49] Emitting module Starscream
[24/49] Compiling Starscream Compression.swift
[25/49] Compiling Starscream WSCompression.swift
[26/49] Compiling Starscream Data+Extensions.swift
[27/49] Compiling Starscream Engine.swift
[28/49] Compiling Starscream NativeEngine.swift
[35/49] Compiling IBMSwiftSDKCore CodableExtensions.swift
[36/49] Compiling IBMSwiftSDKCore CredentialUtils.swift
[37/49] Compiling IBMSwiftSDKCore JSON.swift
[38/49] Compiling IBMSwiftSDKCore MultipartFormData.swift
[39/49] Compiling IBMSwiftSDKCore RestError.swift
[40/49] Compiling IBMSwiftSDKCore RestRequest.swift
[41/49] Compiling Starscream FoundationTransport.swift
[42/49] Compiling Starscream TCPTransport.swift
[43/49] Compiling Starscream Security.swift
[44/49] Compiling Starscream Server.swift
[45/49] Compiling Starscream WebSocketServer.swift
[46/49] Compiling Starscream WebSocket.swift
[47/49] Compiling Starscream Transport.swift
[48/49] Compiling Starscream resource_bundle_accessor.swift
[49/49] Compiling IBMSwiftSDKCore RestResponse.swift
[50/524] Compiling DiscoveryV1 Conversions.swift
[51/524] Compiling DiscoveryV1 CreateEventResponse.swift
[52/526] Compiling LanguageTranslatorV3 TranslationResult.swift
[53/526] Compiling LanguageTranslatorV3 TranslationModels.swift
[54/526] Compiling LanguageTranslatorV3 TranslationModel.swift
[56/526] Compiling DiscoveryV1 DocumentStatus.swift
[57/527] Compiling DiscoveryV1 CollectionUsage.swift
[58/527] Compiling DiscoveryV1 Completions.swift
[59/527] Compiling DiscoveryV1 Configuration.swift
[60/527] Compiling DiscoveryV1 Collection.swift
[61/527] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[62/527] Compiling DiscoveryV1 CollectionDiskUsage.swift
[64/527] Compiling DiscoveryV1 Enrichment.swift
[65/527] Compiling DiscoveryV1 EnrichmentOptions.swift
[66/527] Compiling DiscoveryV1 Environment.swift
[67/527] Compiling DiscoveryV1 EnvironmentDocuments.swift
[68/527] Compiling DiscoveryV1 EventData.swift
[71/527] Emitting module LanguageTranslatorV3
[72/527] Compiling DiscoveryV1 AggregationResult.swift
[78/527] Compiling DiscoveryV1 Discovery.swift
[79/527] Compiling DiscoveryV1 InsecureConnection.swift
[81/527] Emitting module TextToSpeechV1
[84/527] Compiling LanguageTranslatorV3 Shared.swift
[85/527] Compiling DiscoveryV1 NluEnrichmentEntities.swift
[86/527] Compiling DiscoveryV1 NluEnrichmentFeatures.swift
[87/527] Compiling DiscoveryV1 CredentialDetails.swift
[88/527] Compiling DiscoveryV1 Credentials.swift
[89/527] Compiling DiscoveryV1 CredentialsList.swift
[90/527] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[91/533] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[92/533] Compiling TextToSpeechV1 WAVRepair.swift
[93/533] Compiling DiscoveryV1 MetricAggregation.swift
[94/533] Compiling DiscoveryV1 MetricAggregationResult.swift
[95/533] Compiling DiscoveryV1 MetricResponse.swift
[96/533] Compiling DiscoveryV1 MetricTokenAggregation.swift
[97/533] Compiling DiscoveryV1 MetricTokenAggregationResult.swift
[98/540] Compiling DiscoveryV1 Notice.swift
[99/540] Compiling DiscoveryV1 PDFHeadingDetection.swift
[100/540] Compiling DiscoveryV1 PDFSettings.swift
[101/540] Compiling DiscoveryV1 QueryAggregation.swift
[102/540] Compiling DiscoveryV1 QueryCalculationAggregation.swift
[103/540] Compiling DiscoveryV1 QueryFilterAggregation.swift
[104/540] Compiling DiscoveryV1 DocumentCounts.swift
[105/540] Compiling DiscoveryV1 NluEnrichmentKeywords.swift
[106/540] Compiling DiscoveryV1 NluEnrichmentRelations.swift
[107/540] Compiling DiscoveryV1 NluEnrichmentSemanticRoles.swift
[108/540] Compiling DiscoveryV1 NluEnrichmentSentiment.swift
[109/540] Compiling DiscoveryV1 NormalizationOperation.swift
[110/540] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[111/540] Compiling DiscoveryV1 DeleteCredentials.swift
[112/540] Compiling DiscoveryV1 DeleteDocumentResponse.swift
[113/540] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[114/540] Compiling DiscoveryV1 DiskUsage.swift
[115/540] Compiling DiscoveryV1 DocumentAccepted.swift
[125/540] Compiling DiscoveryV1 MetricTokenResponse.swift
[126/540] Compiling DiscoveryV1 NluEnrichmentConcepts.swift
[127/540] Compiling DiscoveryV1 NluEnrichmentEmotion.swift
[131/540] Compiling DiscoveryV1 Expansion.swift
[132/540] Compiling DiscoveryV1 Expansions.swift
[133/540] Compiling DiscoveryV1 Field.swift
[134/540] Compiling DiscoveryV1 FontSetting.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>
/Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV1/Discovery.swift:2264:13: warning: keyword 'return' does not need to be escaped in argument list
2262 |             aggregation: aggregation,
2263 |             count: count,
2264 |             `return`: `return`,
     |             `- warning: keyword 'return' does not need to be escaped in argument list
2265 |             offset: offset,
2266 |             sort: sort,
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.3 macosSpm