This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build WatsonDeveloperCloud with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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 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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write sources
[2/13] Copying PrivacyInfo.xcprivacy
[3/13] Write sources
[11/13] Write swift-version-6F35C1178C84523A.txt
[12/46] Compiling Copustools opus_header.c
[14/46] Emitting module Starscream
[15/48] Compiling Starscream Transport.swift
[16/48] Compiling Starscream resource_bundle_accessor.swift
[17/48] Compiling IBMSwiftSDKCore RestRequest.swift
[18/49] Compiling Starscream WSEngine.swift
[19/49] Compiling Starscream FoundationHTTPHandler.swift
[20/49] Compiling Starscream Engine.swift
[21/49] Compiling Starscream NativeEngine.swift
[22/49] Compiling Starscream Framer.swift
[23/49] Compiling Starscream HTTPHandler.swift
[25/49] Compiling Starscream FoundationHTTPServerHandler.swift
[26/49] Compiling Starscream FrameCollector.swift
[28/49] Compiling IBMSwiftSDKCore RestError.swift
[29/49] Compiling IBMSwiftSDKCore CredentialUtils.swift
[30/49] Emitting module IBMSwiftSDKCore
[35/49] Compiling IBMSwiftSDKCore JSON.swift
[36/49] Compiling IBMSwiftSDKCore CodableExtensions.swift
[37/49] Compiling IBMSwiftSDKCore MultipartFormData.swift
[38/49] Compiling Starscream FoundationTransport.swift
[39/49] Compiling Starscream TCPTransport.swift
[40/49] Compiling Starscream StringHTTPHandler.swift
[41/49] Compiling Starscream FoundationSecurity.swift
[42/49] Compiling Starscream Compression.swift
[43/49] Compiling Starscream WSCompression.swift
[44/49] Compiling Starscream Data+Extensions.swift
[45/49] Compiling Starscream Security.swift
[46/49] Compiling Starscream Server.swift
[47/49] Compiling Starscream WebSocketServer.swift
[48/49] Compiling Starscream WebSocket.swift
[49/49] Compiling IBMSwiftSDKCore RestResponse.swift
[50/524] Compiling AssistantV1 Context.swift
[51/524] Compiling AssistantV1 Counterexample.swift
[52/525] Compiling LanguageTranslatorV3 TranslationModels.swift
[53/525] Compiling LanguageTranslatorV3 TranslationResult.swift
[54/525] Compiling DiscoveryV1 CreateEventResponse.swift
[55/525] Compiling DiscoveryV1 CredentialDetails.swift
[56/525] Compiling LanguageTranslatorV3 TranslationModel.swift
[57/525] Compiling AssistantV1 DialogNode.swift
[58/525] Compiling DiscoveryV1 Completions.swift
[59/525] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[60/525] Compiling DiscoveryV1 CollectionDiskUsage.swift
[61/525] Compiling DiscoveryV1 Configuration.swift
[62/525] Compiling DiscoveryV1 Conversions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[65/525] Compiling AssistantV1 CounterexampleCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[66/527] Compiling LanguageTranslatorV3 Shared.swift
[72/527] Compiling DiscoveryV1 Credentials.swift
[73/533] Compiling NaturalLanguageUnderstandingV1 RelationEntity.swift
[74/533] Compiling NaturalLanguageUnderstandingV1 RelationsOptions.swift
[75/533] Compiling NaturalLanguageUnderstandingV1 RelationsResult.swift
[76/533] Compiling NaturalLanguageUnderstandingV1 SemanticRolesEntity.swift
[77/533] Compiling NaturalLanguageUnderstandingV1 SemanticRolesKeyword.swift
[78/533] Compiling NaturalLanguageUnderstandingV1 SemanticRolesOptions.swift
[79/533] Emitting module TextToSpeechV1
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[80/533] Compiling NaturalLanguageUnderstandingV1 KeywordsResult.swift
[81/533] Compiling NaturalLanguageUnderstandingV1 ListModelsResults.swift
[82/533] Compiling NaturalLanguageUnderstandingV1 ListSentimentModelsResponse.swift
[83/533] Compiling NaturalLanguageUnderstandingV1 Model.swift
[84/533] Compiling NaturalLanguageUnderstandingV1 Notice.swift
[85/533] Compiling NaturalLanguageUnderstandingV1 RelationArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       |- warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/LanguageTranslator.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  94 |         self.version = version
  95 |         self.authenticator = authenticator
  96 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  97 |     }
  98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
[87/533] Compiling DiscoveryV1 Collection.swift
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       |- warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/LanguageTranslator.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  94 |         self.version = version
  95 |         self.authenticator = authenticator
  96 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  97 |     }
  98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
[88/533] Emitting module LanguageTranslatorV3
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[89/533] Compiling DiscoveryV1 MetricTokenAggregationResult.swift
[90/533] Compiling DiscoveryV1 MetricTokenResponse.swift
[91/533] Compiling DiscoveryV1 NluEnrichmentConcepts.swift
[92/533] Compiling DiscoveryV1 NluEnrichmentEmotion.swift
[93/533] Compiling DiscoveryV1 NluEnrichmentEntities.swift
[94/533] Compiling DiscoveryV1 NluEnrichmentFeatures.swift
[95/533] Compiling NaturalLanguageUnderstandingV1 SentimentModel.swift
[96/533] Compiling NaturalLanguageUnderstandingV1 SentimentOptions.swift
[97/533] Compiling NaturalLanguageUnderstandingV1 SentimentResult.swift
[98/533] Compiling NaturalLanguageUnderstandingV1 SummarizationOptions.swift
[99/533] Compiling DiscoveryV1 MetricResponse.swift
[100/533] Compiling DiscoveryV1 MetricTokenAggregation.swift
[101/533] Compiling DiscoveryV1 CredentialsList.swift
[102/533] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[103/533] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[104/533] Compiling DiscoveryV1 DeleteCredentials.swift
[105/533] Compiling DiscoveryV1 DeleteDocumentResponse.swift
[106/533] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[107/533] Compiling DiscoveryV1 DiskUsage.swift
[108/533] Compiling DiscoveryV1 DocumentAccepted.swift
[109/533] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[110/533] Compiling TextToSpeechV1 WAVRepair.swift
[111/533] Compiling DiscoveryV1 NluEnrichmentRelations.swift
[112/533] Compiling DiscoveryV1 NluEnrichmentSemanticRoles.swift
[113/533] Compiling NaturalLanguageUnderstandingV1 EntityMention.swift
[114/533] Compiling NaturalLanguageUnderstandingV1 FeatureSentimentResults.swift
[115/533] Compiling NaturalLanguageUnderstandingV1 Features.swift
[116/533] Compiling NaturalLanguageUnderstandingV1 FeaturesResultsMetadata.swift
[117/533] Compiling NaturalLanguageUnderstandingV1 Feed.swift
[118/533] Compiling NaturalLanguageUnderstandingV1 KeywordsOptions.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |         }
/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |         }
[135/540] Compiling NaturalLanguageUnderstandingV1 TargetedEmotionResults.swift
[136/540] Compiling NaturalLanguageUnderstandingV1 TargetedSentimentResults.swift
[137/540] Compiling NaturalLanguageUnderstandingV1 TokenResult.swift
[138/540] Compiling NaturalLanguageUnderstandingV1 NaturalLanguageUnderstanding.swift
[139/540] Compiling NaturalLanguageUnderstandingV1 Shared.swift
[140/540] Compiling DiscoveryV1 SduStatusCustomFields.swift
[141/540] Compiling DiscoveryV1 SearchStatus.swift
[155/540] Compiling NaturalLanguageUnderstandingV1 SyntaxResult.swift
[177/540] Compiling AssistantV1 ValueCollection.swift
[178/540] Compiling AssistantV1 Webhook.swift
[179/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypePause.swift
[180/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill.swift
[181/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeText.swift
[182/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.swift
[183/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo.swift
[184/540] Compiling AssistantV1 DialogNodeOutputModifiers.swift
[185/540] Compiling DiscoveryV2 TableRowHeaderIDs.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       |- warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeech.swift:98:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  96 |     public init(authenticator: Authenticator) {
  97 |         self.authenticator = authenticator
  98 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  99 |     }
 100 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       |- warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeech.swift:98:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  96 |     public init(authenticator: Authenticator) {
  97 |         self.authenticator = authenticator
  98 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  99 |     }
 100 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       |- warning: static property 'userAgent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     private let session: URLSession
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[10/988] Fetching swift-sdk-core
[456/5856] Fetching swift-sdk-core, starscream
Fetched https://github.com/IBM/swift-sdk-core from cache (1.43s)
Fetched https://github.com/daltoniam/Starscream from cache (1.43s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (2.71s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.66s)
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: '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: '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
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/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/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/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/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/TextToSpeechV1/README.md
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.