Build Information
Failed to build WatsonDeveloperCloud with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[10/12] Write swift-version--423B1241ED78D482.txt
[11/44] Compiling Copustools opus_header.c
[13/44] Emitting module Starscream
[14/44] Compiling Starscream Framer.swift
[15/44] Compiling Starscream HTTPHandler.swift
[16/44] Compiling Starscream StringHTTPHandler.swift
[17/46] Compiling Starscream FoundationHTTPHandler.swift
[18/46] Compiling Starscream FoundationHTTPServerHandler.swift
[19/46] Compiling Starscream FrameCollector.swift
[20/46] Compiling Starscream FoundationSecurity.swift
[21/46] Compiling Starscream Security.swift
[22/46] Compiling Starscream WebSocket.swift
[23/46] Compiling Starscream FoundationTransport.swift
[24/46] Compiling Starscream Engine.swift
[25/46] Compiling Starscream NativeEngine.swift
[26/46] Compiling Starscream WSEngine.swift
[27/46] Compiling Starscream Compression.swift
[28/46] Compiling Starscream WSCompression.swift
[29/46] Compiling Starscream Data+Extensions.swift
[30/46] Compiling Starscream Server.swift
[31/46] Compiling Starscream WebSocketServer.swift
[36/46] Compiling IBMSwiftSDKCore RestError.swift
[43/46] Compiling IBMSwiftSDKCore RestRequest.swift
[44/46] Emitting module IBMSwiftSDKCore
[45/47] Compiling IBMSwiftSDKCore RestResponse.swift
[46/124] Compiling NaturalLanguageUnderstandingV1 AnalysisResultsUsage.swift
[47/124] Compiling NaturalLanguageUnderstandingV1 Author.swift
[48/511] Compiling AssistantV1 LogCollection.swift
[49/511] Compiling AssistantV1 LogMessage.swift
[50/511] Compiling AssistantV1 LogMessageSource.swift
[51/511] Compiling AssistantV1 LogPagination.swift
[52/511] Compiling DiscoveryV1 MetricResponse.swift
[53/511] Compiling DiscoveryV1 MetricTokenAggregation.swift
[54/513] Compiling AssistantV1 Context.swift
[55/513] Compiling AssistantV1 Counterexample.swift
[56/513] Compiling AssistantV1 Intent.swift
[57/513] Compiling AssistantV1 IntentCollection.swift
[58/513] Emitting module LanguageTranslatorV3
[59/515] Compiling AssistantV1 BulkClassifyResponse.swift
[60/515] Compiling AssistantV1 BulkClassifyUtterance.swift
[61/515] Compiling DiscoveryV1 NluEnrichmentSentiment.swift
[62/515] Compiling AssistantV1 BulkClassifyOutput.swift
[63/515] Compiling DiscoveryV1 NluEnrichmentRelations.swift
[64/515] Compiling DiscoveryV1 NluEnrichmentSemanticRoles.swift
[65/515] Compiling AssistantV1 CaptureGroup.swift
[66/515] Compiling AssistantV1 ChannelTransferInfo.swift
[67/515] Compiling AssistantV1 ChannelTransferTarget.swift
[68/515] Compiling AssistantV1 ChannelTransferTargetChat.swift
[69/515] Emitting module TextToSpeechV1
[70/515] Compiling AssistantV1 RuntimeEntity.swift
[71/515] Compiling AssistantV1 RuntimeEntityAlternative.swift
[72/515] Compiling AssistantV1 RuntimeEntityInterpretation.swift
[73/515] Compiling AssistantV1 RuntimeEntityRole.swift
[74/515] Compiling AssistantV1 RuntimeIntent.swift
[75/515] Compiling AssistantV1 RuntimeResponseGeneric.swift
[76/515] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeAudio.swift
[77/515] Compiling DiscoveryV1 QueryResult.swift
[78/515] Compiling DiscoveryV1 QueryResultMetadata.swift
[79/515] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.swift
[80/515] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo.swift
[81/515] Compiling AssistantV1 DialogNodeOutputModifiers.swift
[82/515] Compiling AssistantV1 OutputData.swift
[83/515] Compiling AssistantV1 Pagination.swift
[84/515] Compiling AssistantV1 ResponseGenericChannel.swift
[85/515] Compiling DiscoveryV1 CollectionDiskUsage.swift
[86/515] Compiling DiscoveryV1 CollectionUsage.swift
[87/515] Compiling DiscoveryV1 Completions.swift
[88/515] Compiling DiscoveryV1 Configuration.swift
[89/515] Compiling DiscoveryV1 Conversions.swift
[90/515] Compiling DiscoveryV1 CreateEventResponse.swift
[91/515] Compiling DiscoveryV1 CredentialDetails.swift
[92/515] Compiling DiscoveryV1 Credentials.swift
[93/522] Compiling LanguageTranslatorV3 TranslationResult.swift
[94/522] Compiling LanguageTranslatorV3 Shared.swift
[110/522] Compiling DiscoveryV1 NluEnrichmentEmotion.swift
[111/522] Compiling DiscoveryV1 NluEnrichmentEntities.swift
[112/522] Compiling DiscoveryV1 NluEnrichmentFeatures.swift
[113/522] Compiling DiscoveryV1 NluEnrichmentKeywords.swift
[114/522] Compiling DiscoveryV1 QueryNoticesResult.swift
[115/522] Compiling DiscoveryV1 QueryPassages.swift
[116/522] Compiling DiscoveryV1 QueryResponse.swift
[126/522] Compiling NaturalLanguageUnderstandingV1 SyntaxOptionsTokens.swift
[127/522] Compiling NaturalLanguageUnderstandingV1 SyntaxResult.swift
[128/522] Compiling NaturalLanguageUnderstandingV1 TargetedEmotionResults.swift
[129/522] Compiling NaturalLanguageUnderstandingV1 TargetedSentimentResults.swift
[130/522] Compiling NaturalLanguageUnderstandingV1 TokenResult.swift
[131/522] Compiling NaturalLanguageUnderstandingV1 NaturalLanguageUnderstanding.swift
[132/522] Compiling NaturalLanguageUnderstandingV1 Shared.swift
[133/522] Compiling DiscoveryV1 SourceOptionsFolder.swift
[134/530] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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
^~~~~~~~~~~~~~~
[135/530] Compiling TextToSpeechV1 WAVRepair.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/IBM/swift-sdk-core from cache
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/IBM/swift-sdk-core from cache (0.26s)
Fetched https://github.com/daltoniam/Starscream from cache (0.26s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (0.57s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.03s)
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
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Starscream-b5c9b0c5 is not valid git repository for 'https://github.com/daltoniam/Starscream', will fetch again.
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/daltoniam/Starscream from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Starscream-b5c9b0c5 is not valid git repository for 'https://github.com/daltoniam/Starscream', will fetch again.
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/daltoniam/Starscream from cache (0.01s)
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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/390] Compiling DiscoveryV1 Configuration.swift
[3/390] Compiling DiscoveryV1 Conversions.swift
[4/390] Compiling DiscoveryV1 CreateEventResponse.swift
[5/390] Compiling DiscoveryV1 CredentialDetails.swift
[6/393] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[7/393] Compiling DiscoveryV1 CollectionDiskUsage.swift
[8/393] Compiling DiscoveryV1 CollectionUsage.swift
[9/393] Compiling DiscoveryV1 Completions.swift
[10/394] Compiling DiscoveryV1 DeleteCredentials.swift
[11/394] Compiling DiscoveryV1 DeleteDocumentResponse.swift
[12/394] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[13/394] Compiling DiscoveryV1 DiskUsage.swift
[14/394] Compiling DiscoveryV1 DocumentAccepted.swift
[15/394] Compiling DiscoveryV1 DocumentCounts.swift
[16/394] Compiling DiscoveryV1 DocumentStatus.swift
[17/394] Compiling DiscoveryV1 Enrichment.swift
[18/394] Compiling DiscoveryV1 Credentials.swift
[19/394] Compiling DiscoveryV1 CredentialsList.swift
[20/394] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[21/394] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[22/394] Compiling DiscoveryV1 EnrichmentOptions.swift
[23/394] Compiling DiscoveryV1 Environment.swift
[24/394] Compiling DiscoveryV1 EnvironmentDocuments.swift
[25/394] Compiling DiscoveryV1 EventData.swift
[26/396] Emitting module TextToSpeechV1
[27/396] Compiling TextToSpeechV1 WAVRepair.swift
[28/396] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
/Users/builder/builds/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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/UKfvDsi8u/3/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.10 macosSpm