Build Information
Failed to build WatsonDeveloperCloud with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: v5.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/watson-developer-cloud/swift-sdk
* tag v5.0.0 -> FETCH_HEAD
HEAD is now at 8359f8d Update to 5.0.0 (#1067)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
8359f8d2000c53d11d0757d5413f411ac34fac4e
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at v5.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/33] Compiling Copustools opus_header.c
[2/33] Compiling IBMSwiftSDKCore JSON.swift
[3/33] Compiling IBMSwiftSDKCore MultipartFormData.swift
[4/33] Compiling IBMSwiftSDKCore ConfigBasedAuthenticatorFactory.swift
[5/33] Compiling IBMSwiftSDKCore IAMAuthenticator.swift
[6/33] Compiling Starscream WebSocket.swift
[7/33] Compiling Starscream FoundationTransport.swift
[8/33] Compiling Starscream Framer.swift
[9/33] Compiling Starscream HTTPHandler.swift
[10/33] Compiling Starscream StringHTTPHandler.swift
[11/33] Compiling IBMSwiftSDKCore CredentialUtils.swift
[12/33] Compiling Starscream NativeEngine.swift
[13/33] Compiling Starscream WSEngine.swift
[14/33] Compiling Starscream FoundationHTTPHandler.swift
[15/33] Compiling Starscream FoundationHTTPServerHandler.swift
[16/33] Compiling Starscream FrameCollector.swift
[17/35] Emitting module Starscream
[18/35] Compiling IBMSwiftSDKCore Authentication.swift
[19/35] Compiling IBMSwiftSDKCore CloudPakForDataAuthenticator.swift
[20/35] Compiling IBMSwiftSDKCore CodableExtensions.swift
[25/35] Compiling IBMSwiftSDKCore RestError.swift
[32/35] Emitting module IBMSwiftSDKCore
[33/35] Compiling IBMSwiftSDKCore RestRequest.swift
[34/36] Compiling IBMSwiftSDKCore RestResponse.swift
[35/317] Compiling DiscoveryV2 CollectionDetails.swift
[36/317] Compiling DiscoveryV2 CollectionEnrichment.swift
[37/500] Compiling SpeechToTextV1 AudioMetricsHistogramBin.swift
[38/500] Compiling SpeechToTextV1 AudioResource.swift
[39/500] Compiling SpeechToTextV1 AudioResources.swift
[40/500] Compiling SpeechToTextV1 Corpora.swift
[41/500] Compiling SpeechToTextV1 LanguageModels.swift
[42/500] Compiling SpeechToTextV1 ProcessedAudio.swift
[43/500] Compiling SpeechToTextV1 Grammar.swift
[44/500] Compiling SpeechToTextV1 Grammars.swift
[45/500] Compiling SpeechToTextV1 Corpus.swift
[46/500] Compiling SpeechToTextV1 CustomWord.swift
[47/502] Compiling SpeechToTextV1 RecognitionStop.swift
[48/502] Compiling SpeechToTextV1 RecognizeCallback.swift
[49/502] Compiling SpeechToTextV1 RecognitionJobs.swift
[53/504] Compiling LanguageTranslatorV3 TranslationResult.swift
[54/504] Compiling LanguageTranslatorV3 Shared.swift
[55/504] Compiling SpeechToTextV1 KeywordResult.swift
[56/504] Compiling SpeechToTextV1 LanguageModel.swift
[57/504] Emitting module LanguageTranslatorV3
[58/504] Compiling SpeechToTextV1 ProcessingMetrics.swift
[59/504] Compiling SpeechToTextV1 RecognitionJob.swift
[60/504] Emitting module TextToSpeechV1
[71/504] Compiling SpeechToTextV1 RecognitionSettings.swift
[72/504] Compiling SpeechToTextV1 RecognitionState.swift
[76/504] Compiling SpeechToTextV1 Shared.swift
[77/504] Compiling SpeechToTextV1 SpeechRecognitionResults.swift
[78/504] Compiling SpeechToTextV1 SupportedFeatures.swift
[79/504] Compiling SpeechToTextV1 TrainingResponse.swift
[80/504] Compiling SpeechToTextV1 TrainingWarning.swift
[81/504] Compiling SpeechToTextV1 Word.swift
[82/504] Compiling SpeechToTextV1 WordAlternativeResult.swift
[83/504] Compiling SpeechToTextV1 InsecureConnection.swift
[84/511] Compiling SpeechToTextV1 AcousticModel.swift
[85/511] Compiling SpeechToTextV1 AcousticModels.swift
[86/511] Compiling SpeechToTextV1 AudioDetails.swift
[87/511] Compiling SpeechToTextV1 AudioListing.swift
[88/511] Compiling SpeechToTextV1 AudioMetrics.swift
[89/511] Compiling SpeechToTextV1 AudioMetricsDetails.swift
[90/511] Compiling DiscoveryV1 Gateway.swift
[91/511] Compiling DiscoveryV1 GatewayDelete.swift
[92/511] Compiling DiscoveryV1 GatewayList.swift
[93/511] Compiling DiscoveryV1 HTMLSettings.swift
[94/511] Compiling DiscoveryV1 IndexCapacity.swift
[95/511] Compiling DiscoveryV1 ListCollectionFieldsResponse.swift
[96/511] Compiling DiscoveryV1 ListCollectionsResponse.swift
[97/511] Compiling DiscoveryV1 ListConfigurationsResponse.swift
[103/511] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[104/511] Compiling TextToSpeechV1 WAVRepair.swift
[105/511] Compiling SpeechToTextV1 SpeechModel.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
decoder = opus_decoder_create(sampleRate, numChannels, &status)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
defer {
^~~~~
do
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
case .okay: return OPUS_OK
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
case .badArgument: return OPUS_BAD_ARG
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case .internalError: return OPUS_INTERNAL_ERROR
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
case .invalidPacket: return OPUS_INVALID_PACKET
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case .unimplemented: return OPUS_UNIMPLEMENTED
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
case .invalidState: return OPUS_INVALID_STATE
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case .allocationFailure: return OPUS_ALLOC_FAIL
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
case OPUS_OK: self = .okay
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
case OPUS_BAD_ARG: self = .badArgument
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case OPUS_INTERNAL_ERROR: self = .internalError
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
case OPUS_INVALID_PACKET: self = .invalidPacket
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case OPUS_UNIMPLEMENTED: self = .unimplemented
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
case OPUS_INVALID_STATE: self = .invalidState
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case OPUS_ALLOC_FAIL: self = .allocationFailure
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
decoder = opus_decoder_create(sampleRate, numChannels, &status)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
defer {
^~~~~
do
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
case .okay: return OPUS_OK
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
case .badArgument: return OPUS_BAD_ARG
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case .internalError: return OPUS_INTERNAL_ERROR
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
case .invalidPacket: return OPUS_INVALID_PACKET
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case .unimplemented: return OPUS_UNIMPLEMENTED
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
case .invalidState: return OPUS_INVALID_STATE
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case .allocationFailure: return OPUS_ALLOC_FAIL
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
case OPUS_OK: self = .okay
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
case OPUS_BAD_ARG: self = .badArgument
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case OPUS_INTERNAL_ERROR: self = .internalError
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
case OPUS_INVALID_PACKET: self = .invalidPacket
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case OPUS_UNIMPLEMENTED: self = .unimplemented
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
case OPUS_INVALID_STATE: self = .invalidState
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case OPUS_ALLOC_FAIL: self = .allocationFailure
^~~~~~~~~~~~~~~
error: fatalError
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 (0.18s)
Fetched https://github.com/daltoniam/Starscream (0.22s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (0.50s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.04s)
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.6
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/custom_prompt_audio.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AssistantV1/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
[0/1] Planning build
Building for debugging...
[1/397] Compiling TextToSpeechV1 WAVRepair.swift
[2/397] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
decoder = opus_decoder_create(sampleRate, numChannels, &status)
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
opus_multistream_decoder_destroy(decoder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
defer {
^~~~~
do
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:59: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:61: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:67: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:66: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:60: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:69: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:63: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
case .okay: return OPUS_OK
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
case .badArgument: return OPUS_BAD_ARG
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case .internalError: return OPUS_INTERNAL_ERROR
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
case .invalidPacket: return OPUS_INVALID_PACKET
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case .unimplemented: return OPUS_UNIMPLEMENTED
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
case .invalidState: return OPUS_INVALID_STATE
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case .allocationFailure: return OPUS_ALLOC_FAIL
^~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
case OPUS_OK: self = .okay
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
case OPUS_BAD_ARG: self = .badArgument
^~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
case OPUS_INTERNAL_ERROR: self = .internalError
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
case OPUS_INVALID_PACKET: self = .invalidPacket
^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
case OPUS_UNIMPLEMENTED: self = .unimplemented
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
case OPUS_INVALID_STATE: self = .invalidState
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
case OPUS_ALLOC_FAIL: self = .allocationFailure
^~~~~~~~~~~~~~~
[3/397] Compiling DiscoveryV1 InsecureConnection.swift
[4/397] Compiling DiscoveryV1 AggregationResult.swift
[5/397] Compiling DiscoveryV1 Collection.swift
[6/399] Compiling DiscoveryV1 EnvironmentDocuments.swift
[7/399] Compiling DiscoveryV1 EventData.swift
[8/399] Compiling DiscoveryV1 Discovery.swift
[9/400] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[10/400] Compiling DiscoveryV1 CollectionDiskUsage.swift
[11/400] Compiling DiscoveryV1 CollectionUsage.swift
[12/401] Compiling DiscoveryV1 DocumentAccepted.swift
[13/401] Compiling DiscoveryV1 DocumentCounts.swift
[14/401] Compiling DiscoveryV1 DocumentStatus.swift
[15/401] Compiling DiscoveryV1 Enrichment.swift
[16/401] Compiling DiscoveryV1 EnrichmentOptions.swift
[17/401] Compiling DiscoveryV1 Environment.swift
[18/403] Compiling DiscoveryV1 DeleteDocumentResponse.swift
[19/403] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[20/403] Compiling DiscoveryV1 DiskUsage.swift
[21/404] Compiling NaturalLanguageUnderstandingV1 SentimentResult.swift
[22/404] Compiling NaturalLanguageUnderstandingV1 EmotionResult.swift
[23/404] Compiling NaturalLanguageUnderstandingV1 CategoriesResult.swift
[24/404] Compiling NaturalLanguageUnderstandingV1 SyntaxOptions.swift
[25/404] Compiling NaturalLanguageUnderstandingV1 CategoriesResultExplanation.swift
[26/404] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[27/404] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[28/404] Compiling DiscoveryV1 DeleteCredentials.swift
[29/404] Emitting module TextToSpeechV1
error: fatalError
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DiscoveryV2/Discovery.swift:560:13: warning: keyword 'return' does not need to be escaped in argument list
`return`: `return`,
^ ~
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/custom_prompt_audio.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AssistantV1/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 5.9 macosSpm