The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build WatsonDeveloperCloud, reference master (f85f16), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:33:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/watson-developer-cloud/swift-sdk
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f85f164 chore: deprecation notice (#1077)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
f85f1649a1354957284def2ebd6beb4f68d8a61b
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at master
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[1/988] Fetching swift-sdk-core
[150/6021] Fetching swift-sdk-core, starscream
Fetched https://github.com/daltoniam/Starscream from cache (1.08s)
Fetched https://github.com/IBM/swift-sdk-core from cache (1.08s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (1.78s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.59s)
Creating working copy for https://github.com/IBM/swift-sdk-core
Working copy of https://github.com/IBM/swift-sdk-core resolved at 1.2.1
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-sdk",
      "name": "WatsonDeveloperCloud",
      "url": "https://github.com/watson-developer-cloud/swift-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk",
      "dependencies": [
        {
          "identity": "swift-sdk-core",
          "name": "IBMSwiftSDKCore",
          "url": "https://github.com/IBM/swift-sdk-core",
          "version": "1.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sdk-core",
          "dependencies": [
          ]
        },
        {
          "identity": "starscream",
          "name": "Starscream",
          "url": "https://github.com/daltoniam/Starscream",
          "version": "4.0.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/watson-developer-cloud/swift-sdk.git
[1/79696] Fetching swift-sdk
Fetched https://github.com/watson-developer-cloud/swift-sdk.git from cache (6.14s)
Fetching https://github.com/IBM/swift-sdk-core from cache
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/daltoniam/Starscream from cache (0.50s)
Fetched https://github.com/IBM/swift-sdk-core from cache (0.50s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (0.56s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (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
Creating working copy for https://github.com/watson-developer-cloud/swift-sdk.git
Working copy of https://github.com/watson-developer-cloud/swift-sdk.git resolved at master (f85f164)
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
warning: '.resolve-product-dependencies': dependency 'swift-sdk' is not used by any target
Found 2 product dependencies
  - IBMSwiftSDKCore
  - Starscream
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/watson-developer-cloud/swift-sdk.git
https://github.com/watson-developer-cloud/swift-sdk.git
{
  "dependencies" : [
    {
      "identity" : "swift-sdk-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM/swift-sdk-core"
    },
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/daltoniam/Starscream"
    }
  ],
  "manifest_display_name" : "WatsonDeveloperCloud",
  "name" : "WatsonDeveloperCloud",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AssistantV1",
      "targets" : [
        "AssistantV1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AssistantV2",
      "targets" : [
        "AssistantV2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DiscoveryV1",
      "targets" : [
        "DiscoveryV1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DiscoveryV2",
      "targets" : [
        "DiscoveryV2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LanguageTranslatorV3",
      "targets" : [
        "LanguageTranslatorV3"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NaturalLanguageUnderstandingV1",
      "targets" : [
        "NaturalLanguageUnderstandingV1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeechToTextV1",
      "targets" : [
        "SpeechToTextV1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TextToSpeechV1",
      "targets" : [
        "TextToSpeechV1"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextToSpeechV1Tests",
      "module_type" : "SwiftTarget",
      "name" : "TextToSpeechV1Tests",
      "path" : "Tests/TextToSpeechV1Tests",
      "sources" : [
        "TestUtilities.swift",
        "TextToSpeechDecoderTests.swift",
        "TextToSpeechPlaybackTests.swift",
        "TextToSpeechTests.swift"
      ],
      "target_dependencies" : [
        "TextToSpeechV1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TextToSpeechV1",
      "module_type" : "SwiftTarget",
      "name" : "TextToSpeechV1",
      "path" : "Sources/TextToSpeechV1",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "TextToSpeechV1"
      ],
      "sources" : [
        "InsecureConnection.swift",
        "Models/CustomModel.swift",
        "Models/CustomModels.swift",
        "Models/Prompt.swift",
        "Models/PromptMetadata.swift",
        "Models/Prompts.swift",
        "Models/Pronunciation.swift",
        "Models/Speaker.swift",
        "Models/SpeakerCustomModel.swift",
        "Models/SpeakerCustomModels.swift",
        "Models/SpeakerModel.swift",
        "Models/SpeakerPrompt.swift",
        "Models/Speakers.swift",
        "Models/SupportedFeatures.swift",
        "Models/Translation.swift",
        "Models/Voice.swift",
        "Models/Voices.swift",
        "Models/Word.swift",
        "Models/Words.swift",
        "Shared.swift",
        "TextToSpeech.swift",
        "TextToSpeechDecoder.swift",
        "WAVRepair.swift"
      ],
      "target_dependencies" : [
        "Clibogg",
        "Clibopus",
        "Copustools"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeechToTextV1Tests",
      "module_type" : "SwiftTarget",
      "name" : "SpeechToTextV1Tests",
      "path" : "Tests/SpeechToTextV1Tests",
      "sources" : [
        "SpeechToTextRecognizeTests.swift",
        "SpeechToTextTests.swift",
        "SpeechToTextUnitTests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "SpeechToTextV1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeechToTextV1",
      "module_type" : "SwiftTarget",
      "name" : "SpeechToTextV1",
      "path" : "Sources/SpeechToTextV1",
      "product_dependencies" : [
        "IBMSwiftSDKCore",
        "Starscream"
      ],
      "product_memberships" : [
        "SpeechToTextV1"
      ],
      "sources" : [
        "InsecureConnection.swift",
        "Models/AcousticModel.swift",
        "Models/AcousticModels.swift",
        "Models/AudioDetails.swift",
        "Models/AudioListing.swift",
        "Models/AudioMetrics.swift",
        "Models/AudioMetricsDetails.swift",
        "Models/AudioMetricsHistogramBin.swift",
        "Models/AudioResource.swift",
        "Models/AudioResources.swift",
        "Models/Corpora.swift",
        "Models/Corpus.swift",
        "Models/CustomWord.swift",
        "Models/Grammar.swift",
        "Models/Grammars.swift",
        "Models/KeywordResult.swift",
        "Models/LanguageModel.swift",
        "Models/LanguageModels.swift",
        "Models/ProcessedAudio.swift",
        "Models/ProcessingMetrics.swift",
        "Models/RecognitionJob.swift",
        "Models/RecognitionJobs.swift",
        "Models/RegisterStatus.swift",
        "Models/SpeakerLabelsResult.swift",
        "Models/SpeechModel.swift",
        "Models/SpeechModels.swift",
        "Models/SpeechRecognitionAlternative.swift",
        "Models/SpeechRecognitionResult.swift",
        "Models/SpeechRecognitionResults.swift",
        "Models/SupportedFeatures.swift",
        "Models/TrainingResponse.swift",
        "Models/TrainingWarning.swift",
        "Models/Word.swift",
        "Models/WordAlternativeResult.swift",
        "Models/WordAlternativeResults.swift",
        "Models/WordConfidence.swift",
        "Models/WordError.swift",
        "Models/WordTimestamp.swift",
        "Models/Words.swift",
        "Shared.swift",
        "SpeechToText+Recognize.swift",
        "SpeechToText.swift",
        "WebSockets/RecognitionSettings.swift",
        "WebSockets/RecognitionState.swift",
        "WebSockets/RecognitionStop.swift",
        "WebSockets/RecognizeCallback.swift",
        "WebSockets/SpeechRecognitionResultsAccumulator.swift",
        "WebSockets/SpeechToTextEncoder.swift",
        "WebSockets/SpeechToTextRecorder.swift",
        "WebSockets/SpeechToTextSession.swift",
        "WebSockets/SpeechToTextSocket.swift",
        "WebSockets/SpeechToTextState.swift"
      ],
      "target_dependencies" : [
        "Clibogg",
        "Clibopus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NaturalLanguageUnderstandingV1Tests",
      "module_type" : "SwiftTarget",
      "name" : "NaturalLanguageUnderstandingV1Tests",
      "path" : "Tests/NaturalLanguageUnderstandingV1Tests",
      "sources" : [
        "NaturalLanguageUnderstandingV1Tests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "NaturalLanguageUnderstandingV1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NaturalLanguageUnderstandingV1",
      "module_type" : "SwiftTarget",
      "name" : "NaturalLanguageUnderstandingV1",
      "path" : "Sources/NaturalLanguageUnderstandingV1",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "NaturalLanguageUnderstandingV1"
      ],
      "sources" : [
        "InsecureConnection.swift",
        "Models/AnalysisResults.swift",
        "Models/AnalysisResultsUsage.swift",
        "Models/Author.swift",
        "Models/CategoriesModel.swift",
        "Models/CategoriesModelList.swift",
        "Models/CategoriesOptions.swift",
        "Models/CategoriesRelevantText.swift",
        "Models/CategoriesResult.swift",
        "Models/CategoriesResultExplanation.swift",
        "Models/ClassificationsModel.swift",
        "Models/ClassificationsModelList.swift",
        "Models/ClassificationsOptions.swift",
        "Models/ClassificationsResult.swift",
        "Models/ConceptsOptions.swift",
        "Models/ConceptsResult.swift",
        "Models/DeleteModelResults.swift",
        "Models/DisambiguationResult.swift",
        "Models/DocumentEmotionResults.swift",
        "Models/DocumentSentimentResults.swift",
        "Models/EmotionOptions.swift",
        "Models/EmotionResult.swift",
        "Models/EmotionScores.swift",
        "Models/EntitiesOptions.swift",
        "Models/EntitiesResult.swift",
        "Models/EntityMention.swift",
        "Models/FeatureSentimentResults.swift",
        "Models/Features.swift",
        "Models/FeaturesResultsMetadata.swift",
        "Models/Feed.swift",
        "Models/KeywordsOptions.swift",
        "Models/KeywordsResult.swift",
        "Models/ListModelsResults.swift",
        "Models/ListSentimentModelsResponse.swift",
        "Models/Model.swift",
        "Models/Notice.swift",
        "Models/RelationArgument.swift",
        "Models/RelationEntity.swift",
        "Models/RelationsOptions.swift",
        "Models/RelationsResult.swift",
        "Models/SemanticRolesEntity.swift",
        "Models/SemanticRolesKeyword.swift",
        "Models/SemanticRolesOptions.swift",
        "Models/SemanticRolesResult.swift",
        "Models/SemanticRolesResultAction.swift",
        "Models/SemanticRolesResultObject.swift",
        "Models/SemanticRolesResultSubject.swift",
        "Models/SemanticRolesVerb.swift",
        "Models/SentenceResult.swift",
        "Models/SentimentModel.swift",
        "Models/SentimentOptions.swift",
        "Models/SentimentResult.swift",
        "Models/SummarizationOptions.swift",
        "Models/SyntaxOptions.swift",
        "Models/SyntaxOptionsTokens.swift",
        "Models/SyntaxResult.swift",
        "Models/TargetedEmotionResults.swift",
        "Models/TargetedSentimentResults.swift",
        "Models/TokenResult.swift",
        "NaturalLanguageUnderstanding.swift",
        "Shared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LanguageTranslatorV3Tests",
      "module_type" : "SwiftTarget",
      "name" : "LanguageTranslatorV3Tests",
      "path" : "Tests/LanguageTranslatorV3Tests",
      "sources" : [
        "LanguageTranslatorTests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "LanguageTranslatorV3"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LanguageTranslatorV3",
      "module_type" : "SwiftTarget",
      "name" : "LanguageTranslatorV3",
      "path" : "Sources/LanguageTranslatorV3",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "LanguageTranslatorV3"
      ],
      "sources" : [
        "InsecureConnection.swift",
        "LanguageTranslator.swift",
        "Models/DeleteModelResult.swift",
        "Models/DocumentList.swift",
        "Models/DocumentStatus.swift",
        "Models/IdentifiableLanguage.swift",
        "Models/IdentifiableLanguages.swift",
        "Models/IdentifiedLanguage.swift",
        "Models/IdentifiedLanguages.swift",
        "Models/Language.swift",
        "Models/Languages.swift",
        "Models/Translation.swift",
        "Models/TranslationModel.swift",
        "Models/TranslationModels.swift",
        "Models/TranslationResult.swift",
        "Shared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DiscoveryV2Tests",
      "module_type" : "SwiftTarget",
      "name" : "DiscoveryV2Tests",
      "path" : "Tests/DiscoveryV2Tests",
      "sources" : [
        "DiscoveryV2CPDTests.swift",
        "DiscoveryV2Tests.swift"
      ],
      "target_dependencies" : [
        "DiscoveryV2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiscoveryV2",
      "module_type" : "SwiftTarget",
      "name" : "DiscoveryV2",
      "path" : "Sources/DiscoveryV2",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "DiscoveryV2"
      ],
      "sources" : [
        "Discovery.swift",
        "InsecureConnection.swift",
        "Models/AnalyzedDocument.swift",
        "Models/AnalyzedResult.swift",
        "Models/ClassifierFederatedModel.swift",
        "Models/ClassifierModelEvaluation.swift",
        "Models/Collection.swift",
        "Models/CollectionDetails.swift",
        "Models/CollectionEnrichment.swift",
        "Models/Completions.swift",
        "Models/ComponentSettingsAggregation.swift",
        "Models/ComponentSettingsFieldsShown.swift",
        "Models/ComponentSettingsFieldsShownBody.swift",
        "Models/ComponentSettingsFieldsShownTitle.swift",
        "Models/ComponentSettingsResponse.swift",
        "Models/CreateDocumentClassifier.swift",
        "Models/CreateEnrichment.swift",
        "Models/DefaultQueryParams.swift",
        "Models/DefaultQueryParamsPassages.swift",
        "Models/DefaultQueryParamsSuggestedRefinements.swift",
        "Models/DefaultQueryParamsTableResults.swift",
        "Models/DeleteDocumentResponse.swift",
        "Models/DocumentAccepted.swift",
        "Models/DocumentAttribute.swift",
        "Models/DocumentClassifier.swift",
        "Models/DocumentClassifierEnrichment.swift",
        "Models/DocumentClassifierModel.swift",
        "Models/DocumentClassifierModels.swift",
        "Models/DocumentClassifiers.swift",
        "Models/Enrichment.swift",
        "Models/EnrichmentOptions.swift",
        "Models/Enrichments.swift",
        "Models/Field.swift",
        "Models/ListCollectionsResponse.swift",
        "Models/ListFieldsResponse.swift",
        "Models/ListProjectsResponse.swift",
        "Models/ModelEvaluationMacroAverage.swift",
        "Models/ModelEvaluationMicroAverage.swift",
        "Models/Notice.swift",
        "Models/PerClassModelEvaluation.swift",
        "Models/ProjectDetails.swift",
        "Models/ProjectListDetails.swift",
        "Models/ProjectListDetailsRelevancyTrainingStatus.swift",
        "Models/QueryAggregation.swift",
        "Models/QueryCalculationAggregation.swift",
        "Models/QueryFilterAggregation.swift",
        "Models/QueryGroupByAggregation.swift",
        "Models/QueryGroupByAggregationResult.swift",
        "Models/QueryHistogramAggregation.swift",
        "Models/QueryHistogramAggregationResult.swift",
        "Models/QueryLargePassages.swift",
        "Models/QueryLargeSuggestedRefinements.swift",
        "Models/QueryLargeTableResults.swift",
        "Models/QueryNestedAggregation.swift",
        "Models/QueryNoticesResponse.swift",
        "Models/QueryResponse.swift",
        "Models/QueryResponsePassage.swift",
        "Models/QueryResult.swift",
        "Models/QueryResultMetadata.swift",
        "Models/QueryResultPassage.swift",
        "Models/QuerySuggestedRefinement.swift",
        "Models/QueryTableResult.swift",
        "Models/QueryTermAggregation.swift",
        "Models/QueryTermAggregationResult.swift",
        "Models/QueryTimesliceAggregation.swift",
        "Models/QueryTimesliceAggregationResult.swift",
        "Models/QueryTopHitsAggregation.swift",
        "Models/QueryTopHitsAggregationResult.swift",
        "Models/ResultPassageAnswer.swift",
        "Models/RetrievalDetails.swift",
        "Models/TableBodyCells.swift",
        "Models/TableCellKey.swift",
        "Models/TableCellValues.swift",
        "Models/TableColumnHeaderIDs.swift",
        "Models/TableColumnHeaderTexts.swift",
        "Models/TableColumnHeaderTextsNormalized.swift",
        "Models/TableColumnHeaders.swift",
        "Models/TableElementLocation.swift",
        "Models/TableHeaders.swift",
        "Models/TableKeyValuePairs.swift",
        "Models/TableResultTable.swift",
        "Models/TableRowHeaderIDs.swift",
        "Models/TableRowHeaderTexts.swift",
        "Models/TableRowHeaderTextsNormalized.swift",
        "Models/TableRowHeaders.swift",
        "Models/TableTextLocation.swift",
        "Models/TrainingExample.swift",
        "Models/TrainingQuery.swift",
        "Models/TrainingQuerySet.swift",
        "Models/UpdateDocumentClassifier.swift",
        "Shared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DiscoveryV1Tests",
      "module_type" : "SwiftTarget",
      "name" : "DiscoveryV1Tests",
      "path" : "Tests/DiscoveryV1Tests",
      "sources" : [
        "DiscoveryTest+CPD.swift",
        "DiscoveryTests.swift",
        "DiscoveryUnitTests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "DiscoveryV1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiscoveryV1",
      "module_type" : "SwiftTarget",
      "name" : "DiscoveryV1",
      "path" : "Sources/DiscoveryV1",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "DiscoveryV1"
      ],
      "sources" : [
        "Discovery.swift",
        "InsecureConnection.swift",
        "Models/AggregationResult.swift",
        "Models/Collection.swift",
        "Models/CollectionCrawlStatus.swift",
        "Models/CollectionDiskUsage.swift",
        "Models/CollectionUsage.swift",
        "Models/Completions.swift",
        "Models/Configuration.swift",
        "Models/Conversions.swift",
        "Models/CreateEventResponse.swift",
        "Models/CredentialDetails.swift",
        "Models/Credentials.swift",
        "Models/CredentialsList.swift",
        "Models/DeleteCollectionResponse.swift",
        "Models/DeleteConfigurationResponse.swift",
        "Models/DeleteCredentials.swift",
        "Models/DeleteDocumentResponse.swift",
        "Models/DeleteEnvironmentResponse.swift",
        "Models/DiskUsage.swift",
        "Models/DocumentAccepted.swift",
        "Models/DocumentCounts.swift",
        "Models/DocumentStatus.swift",
        "Models/Enrichment.swift",
        "Models/EnrichmentOptions.swift",
        "Models/Environment.swift",
        "Models/EnvironmentDocuments.swift",
        "Models/EventData.swift",
        "Models/Expansion.swift",
        "Models/Expansions.swift",
        "Models/Field.swift",
        "Models/FontSetting.swift",
        "Models/Gateway.swift",
        "Models/GatewayDelete.swift",
        "Models/GatewayList.swift",
        "Models/HTMLSettings.swift",
        "Models/IndexCapacity.swift",
        "Models/ListCollectionFieldsResponse.swift",
        "Models/ListCollectionsResponse.swift",
        "Models/ListConfigurationsResponse.swift",
        "Models/ListEnvironmentsResponse.swift",
        "Models/LogQueryResponse.swift",
        "Models/LogQueryResponseResult.swift",
        "Models/LogQueryResponseResultDocuments.swift",
        "Models/LogQueryResponseResultDocumentsResult.swift",
        "Models/MetricAggregation.swift",
        "Models/MetricAggregationResult.swift",
        "Models/MetricResponse.swift",
        "Models/MetricTokenAggregation.swift",
        "Models/MetricTokenAggregationResult.swift",
        "Models/MetricTokenResponse.swift",
        "Models/NluEnrichmentConcepts.swift",
        "Models/NluEnrichmentEmotion.swift",
        "Models/NluEnrichmentEntities.swift",
        "Models/NluEnrichmentFeatures.swift",
        "Models/NluEnrichmentKeywords.swift",
        "Models/NluEnrichmentRelations.swift",
        "Models/NluEnrichmentSemanticRoles.swift",
        "Models/NluEnrichmentSentiment.swift",
        "Models/NormalizationOperation.swift",
        "Models/Notice.swift",
        "Models/PDFHeadingDetection.swift",
        "Models/PDFSettings.swift",
        "Models/QueryAggregation.swift",
        "Models/QueryCalculationAggregation.swift",
        "Models/QueryFilterAggregation.swift",
        "Models/QueryHistogramAggregation.swift",
        "Models/QueryHistogramAggregationResult.swift",
        "Models/QueryNestedAggregation.swift",
        "Models/QueryNoticesResponse.swift",
        "Models/QueryNoticesResult.swift",
        "Models/QueryPassages.swift",
        "Models/QueryResponse.swift",
        "Models/QueryResult.swift",
        "Models/QueryResultMetadata.swift",
        "Models/QueryTermAggregation.swift",
        "Models/QueryTermAggregationResult.swift",
        "Models/QueryTimesliceAggregation.swift",
        "Models/QueryTimesliceAggregationResult.swift",
        "Models/QueryTopHitsAggregation.swift",
        "Models/QueryTopHitsAggregationResult.swift",
        "Models/RetrievalDetails.swift",
        "Models/SduStatus.swift",
        "Models/SduStatusCustomFields.swift",
        "Models/SearchStatus.swift",
        "Models/SegmentSettings.swift",
        "Models/Source.swift",
        "Models/SourceOptions.swift",
        "Models/SourceOptionsBuckets.swift",
        "Models/SourceOptionsFolder.swift",
        "Models/SourceOptionsObject.swift",
        "Models/SourceOptionsSiteColl.swift",
        "Models/SourceOptionsWebCrawl.swift",
        "Models/SourceSchedule.swift",
        "Models/SourceStatus.swift",
        "Models/StatusDetails.swift",
        "Models/TokenDictRule.swift",
        "Models/TokenDictStatusResponse.swift",
        "Models/TopHitsResults.swift",
        "Models/TrainingDataSet.swift",
        "Models/TrainingExample.swift",
        "Models/TrainingExampleList.swift",
        "Models/TrainingQuery.swift",
        "Models/TrainingStatus.swift",
        "Models/WordHeadingDetection.swift",
        "Models/WordSettings.swift",
        "Models/WordStyle.swift",
        "Models/XPathPatterns.swift",
        "Shared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Copustools",
      "module_type" : "ClangTarget",
      "name" : "Copustools",
      "path" : "Sources/SupportingFiles/Dependencies/Copustools",
      "product_memberships" : [
        "TextToSpeechV1"
      ],
      "sources" : [
        "opus_header.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibopus",
      "module_type" : "SystemLibraryTarget",
      "name" : "Clibopus",
      "path" : "Sources/SupportingFiles/Dependencies/Clibopus",
      "product_memberships" : [
        "SpeechToTextV1",
        "TextToSpeechV1"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "Clibogg",
      "module_type" : "SystemLibraryTarget",
      "name" : "Clibogg",
      "path" : "Sources/SupportingFiles/Dependencies/Clibogg",
      "product_memberships" : [
        "SpeechToTextV1",
        "TextToSpeechV1"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "AssistantV2Tests",
      "module_type" : "SwiftTarget",
      "name" : "AssistantV2Tests",
      "path" : "Tests/AssistantV2Tests",
      "sources" : [
        "AssistantV2Tests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "AssistantV2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AssistantV2",
      "module_type" : "SwiftTarget",
      "name" : "AssistantV2",
      "path" : "Sources/AssistantV2",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "AssistantV2"
      ],
      "sources" : [
        "Assistant.swift",
        "InsecureConnection.swift",
        "Models/AgentAvailabilityMessage.swift",
        "Models/BulkClassifyOutput.swift",
        "Models/BulkClassifyResponse.swift",
        "Models/BulkClassifyUtterance.swift",
        "Models/CaptureGroup.swift",
        "Models/ChannelTransferInfo.swift",
        "Models/ChannelTransferTarget.swift",
        "Models/ChannelTransferTargetChat.swift",
        "Models/DialogLogMessage.swift",
        "Models/DialogNodeAction.swift",
        "Models/DialogNodeOutputConnectToAgentTransferInfo.swift",
        "Models/DialogNodeOutputOptionsElement.swift",
        "Models/DialogNodeOutputOptionsElementValue.swift",
        "Models/DialogNodeVisited.swift",
        "Models/DialogSuggestion.swift",
        "Models/DialogSuggestionValue.swift",
        "Models/Log.swift",
        "Models/LogCollection.swift",
        "Models/LogMessageSource.swift",
        "Models/LogMessageSourceAction.swift",
        "Models/LogMessageSourceDialogNode.swift",
        "Models/LogMessageSourceHandler.swift",
        "Models/LogMessageSourceStep.swift",
        "Models/LogPagination.swift",
        "Models/MessageContext.swift",
        "Models/MessageContextGlobal.swift",
        "Models/MessageContextGlobalStateless.swift",
        "Models/MessageContextGlobalSystem.swift",
        "Models/MessageContextSkill.swift",
        "Models/MessageContextSkillSystem.swift",
        "Models/MessageContextStateless.swift",
        "Models/MessageInput.swift",
        "Models/MessageInputAttachment.swift",
        "Models/MessageInputOptions.swift",
        "Models/MessageInputOptionsSpelling.swift",
        "Models/MessageInputOptionsStateless.swift",
        "Models/MessageInputStateless.swift",
        "Models/MessageOutput.swift",
        "Models/MessageOutputDebug.swift",
        "Models/MessageOutputSpelling.swift",
        "Models/MessageRequest.swift",
        "Models/MessageResponse.swift",
        "Models/MessageResponseStateless.swift",
        "Models/ResponseGenericChannel.swift",
        "Models/RuntimeEntity.swift",
        "Models/RuntimeEntityAlternative.swift",
        "Models/RuntimeEntityInterpretation.swift",
        "Models/RuntimeEntityRole.swift",
        "Models/RuntimeIntent.swift",
        "Models/RuntimeResponseGeneric.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeAudio.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeIframe.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeImage.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeOption.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypePause.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeSearch.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeSuggestion.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeText.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeUserDefined.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeVideo.swift",
        "Models/SearchResult.swift",
        "Models/SearchResultAnswer.swift",
        "Models/SearchResultHighlight.swift",
        "Models/SearchResultMetadata.swift",
        "Models/SessionResponse.swift",
        "Shared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AssistantV1Tests",
      "module_type" : "SwiftTarget",
      "name" : "AssistantV1Tests",
      "path" : "Tests/AssistantV1Tests",
      "sources" : [
        "AssistantTests.swift",
        "AssistantV1UnitTests.swift",
        "TestUtilities.swift"
      ],
      "target_dependencies" : [
        "AssistantV1"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AssistantV1",
      "module_type" : "SwiftTarget",
      "name" : "AssistantV1",
      "path" : "Sources/AssistantV1",
      "product_dependencies" : [
        "IBMSwiftSDKCore"
      ],
      "product_memberships" : [
        "AssistantV1"
      ],
      "sources" : [
        "Assistant.swift",
        "InsecureConnection.swift",
        "Models/AgentAvailabilityMessage.swift",
        "Models/BulkClassifyOutput.swift",
        "Models/BulkClassifyResponse.swift",
        "Models/BulkClassifyUtterance.swift",
        "Models/CaptureGroup.swift",
        "Models/ChannelTransferInfo.swift",
        "Models/ChannelTransferTarget.swift",
        "Models/ChannelTransferTargetChat.swift",
        "Models/Context.swift",
        "Models/Counterexample.swift",
        "Models/CounterexampleCollection.swift",
        "Models/CreateEntity.swift",
        "Models/CreateIntent.swift",
        "Models/CreateValue.swift",
        "Models/DialogNode.swift",
        "Models/DialogNodeAction.swift",
        "Models/DialogNodeCollection.swift",
        "Models/DialogNodeContext.swift",
        "Models/DialogNodeNextStep.swift",
        "Models/DialogNodeOutput.swift",
        "Models/DialogNodeOutputConnectToAgentTransferInfo.swift",
        "Models/DialogNodeOutputGeneric.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeIframe.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeOption.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypePause.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeSearchSkill.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeText.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.swift",
        "Models/DialogNodeOutputGenericDialogNodeOutputResponseTypeVideo.swift",
        "Models/DialogNodeOutputModifiers.swift",
        "Models/DialogNodeOutputOptionsElement.swift",
        "Models/DialogNodeOutputOptionsElementValue.swift",
        "Models/DialogNodeOutputTextValuesElement.swift",
        "Models/DialogNodeVisitedDetails.swift",
        "Models/DialogSuggestion.swift",
        "Models/DialogSuggestionValue.swift",
        "Models/Entity.swift",
        "Models/EntityCollection.swift",
        "Models/EntityMention.swift",
        "Models/EntityMentionCollection.swift",
        "Models/Example.swift",
        "Models/ExampleCollection.swift",
        "Models/Intent.swift",
        "Models/IntentCollection.swift",
        "Models/Log.swift",
        "Models/LogCollection.swift",
        "Models/LogMessage.swift",
        "Models/LogMessageSource.swift",
        "Models/LogPagination.swift",
        "Models/Mention.swift",
        "Models/MessageContextMetadata.swift",
        "Models/MessageInput.swift",
        "Models/MessageRequest.swift",
        "Models/MessageResponse.swift",
        "Models/OutputData.swift",
        "Models/Pagination.swift",
        "Models/ResponseGenericChannel.swift",
        "Models/RuntimeEntity.swift",
        "Models/RuntimeEntityAlternative.swift",
        "Models/RuntimeEntityInterpretation.swift",
        "Models/RuntimeEntityRole.swift",
        "Models/RuntimeIntent.swift",
        "Models/RuntimeResponseGeneric.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeAudio.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeIframe.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeImage.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeOption.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypePause.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeSuggestion.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeText.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeUserDefined.swift",
        "Models/RuntimeResponseGenericRuntimeResponseTypeVideo.swift",
        "Models/Synonym.swift",
        "Models/SynonymCollection.swift",
        "Models/Value.swift",
        "Models/ValueCollection.swift",
        "Models/Webhook.swift",
        "Models/WebhookHeader.swift",
        "Models/Workspace.swift",
        "Models/WorkspaceCollection.swift",
        "Models/WorkspaceSystemSettings.swift",
        "Models/WorkspaceSystemSettingsDisambiguation.swift",
        "Models/WorkspaceSystemSettingsOffTopic.swift",
        "Models/WorkspaceSystemSettingsSystemEntities.swift",
        "Models/WorkspaceSystemSettingsTooling.swift",
        "Shared.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/13] Write sources
[7/13] Copying PrivacyInfo.xcprivacy
[8/13] Write sources
[11/13] Write swift-version-2F0A5646E1D333AE.txt
[12/46] Compiling Copustools opus_header.c
[14/46] Compiling IBMSwiftSDKCore MultipartFormData.swift
[15/46] Compiling Starscream FoundationTransport.swift
[16/46] Compiling Starscream TCPTransport.swift
[17/46] Compiling Starscream StringHTTPHandler.swift
[18/46] Compiling Starscream FoundationSecurity.swift
[19/46] Compiling IBMSwiftSDKCore RestError.swift
[20/46] Compiling Starscream Compression.swift
[21/46] Compiling Starscream WSCompression.swift
[22/46] Compiling Starscream WebSocketServer.swift
[23/46] Compiling Starscream WebSocket.swift
[24/46] Compiling Starscream Framer.swift
[25/46] Compiling Starscream HTTPHandler.swift
[26/46] Emitting module IBMSwiftSDKCore
[27/46] Compiling Starscream Security.swift
[28/46] Compiling Starscream Server.swift
[31/46] Compiling Starscream FoundationHTTPServerHandler.swift
[32/46] Compiling Starscream FrameCollector.swift
[33/46] Compiling IBMSwiftSDKCore RestRequest.swift
[34/46] Compiling Starscream WSEngine.swift
[35/46] Compiling Starscream FoundationHTTPHandler.swift
[36/46] Compiling IBMSwiftSDKCore JSON.swift
[37/46] Emitting module Starscream
[38/46] Compiling IBMSwiftSDKCore CredentialUtils.swift
[39/46] Compiling IBMSwiftSDKCore CodableExtensions.swift
[40/46] Compiling Starscream Engine.swift
[41/46] Compiling Starscream NativeEngine.swift
[44/46] Compiling Starscream Data+Extensions.swift
[47/49] Compiling IBMSwiftSDKCore RestResponse.swift
[48/49] Compiling Starscream Transport.swift
[49/49] Compiling Starscream resource_bundle_accessor.swift
[50/524] Compiling LanguageTranslatorV3 TranslationModels.swift
[51/524] Compiling LanguageTranslatorV3 TranslationResult.swift
[52/525] Compiling DiscoveryV1 CreateEventResponse.swift
[53/525] Compiling DiscoveryV1 CredentialDetails.swift
[54/525] Compiling LanguageTranslatorV3 TranslationModel.swift
[55/525] Compiling DiscoveryV1 Configuration.swift
[56/525] Compiling DiscoveryV1 Conversions.swift
[57/525] Compiling DiscoveryV1 CollectionUsage.swift
[58/525] Compiling DiscoveryV1 Completions.swift
[59/525] Compiling DiscoveryV1 CollectionCrawlStatus.swift
[60/525] Compiling DiscoveryV1 CollectionDiskUsage.swift
[61/525] Compiling DiscoveryV1 AggregationResult.swift
[62/525] Compiling DiscoveryV1 Collection.swift
[63/525] Emitting module TextToSpeechV1
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[64/527] Compiling DiscoveryV1 Discovery.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[65/527] Compiling DiscoveryV1 InsecureConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[67/527] Compiling LanguageTranslatorV3 Shared.swift
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/LanguageTranslator.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  94 |         self.version = version
  95 |         self.authenticator = authenticator
  96 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  97 |     }
  98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/LanguageTranslator.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  94 |         self.version = version
  95 |         self.authenticator = authenticator
  96 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  97 |     }
  98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
[70/527] Emitting module LanguageTranslatorV3
/Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[71/527] Compiling DiscoveryV1 ListCollectionFieldsResponse.swift
[72/527] Compiling DiscoveryV1 ListCollectionsResponse.swift
[73/527] Compiling DiscoveryV1 ListConfigurationsResponse.swift
[74/527] Compiling DiscoveryV1 ListEnvironmentsResponse.swift
[75/527] Compiling DiscoveryV1 LogQueryResponse.swift
[76/527] Compiling DiscoveryV1 LogQueryResponseResult.swift
[77/527] Compiling DiscoveryV1 LogQueryResponseResultDocuments.swift
[78/527] Compiling DiscoveryV1 LogQueryResponseResultDocumentsResult.swift
[79/527] Compiling DiscoveryV1 MetricAggregation.swift
[80/527] Compiling DiscoveryV1 MetricAggregationResult.swift
[81/527] Compiling DiscoveryV1 MetricResponse.swift
[82/527] Compiling AssistantV1 Intent.swift
[83/533] Compiling AssistantV1 IntentCollection.swift
[84/533] Compiling AssistantV1 Log.swift
[85/533] Compiling AssistantV1 LogCollection.swift
[86/533] Compiling AssistantV1 LogMessage.swift
[87/533] Compiling AssistantV1 LogMessageSource.swift
[88/533] Compiling AssistantV1 LogPagination.swift
[89/533] Emitting module AssistantV2
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[90/533] Compiling NaturalLanguageUnderstandingV1 TargetedEmotionResults.swift
[91/533] Compiling NaturalLanguageUnderstandingV1 TargetedSentimentResults.swift
[92/533] Compiling NaturalLanguageUnderstandingV1 TokenResult.swift
[93/533] Compiling NaturalLanguageUnderstandingV1 NaturalLanguageUnderstanding.swift
[94/533] Compiling NaturalLanguageUnderstandingV1 Shared.swift
[95/533] Compiling AssistantV1 Pagination.swift
[96/533] Compiling AssistantV1 ResponseGenericChannel.swift
[97/540] Compiling DiscoveryV1 FontSetting.swift
[98/540] Compiling DiscoveryV1 Gateway.swift
[99/540] Compiling DiscoveryV1 GatewayDelete.swift
[100/540] Compiling DiscoveryV1 GatewayList.swift
[101/540] Compiling DiscoveryV1 HTMLSettings.swift
[102/540] Compiling DiscoveryV1 IndexCapacity.swift
[108/540] Compiling DiscoveryV1 Credentials.swift
[109/540] Compiling DiscoveryV1 CredentialsList.swift
[110/540] Compiling DiscoveryV1 DeleteCollectionResponse.swift
[111/540] Compiling DiscoveryV1 DeleteConfigurationResponse.swift
[112/540] Compiling DiscoveryV2 CreateEnrichment.swift
[113/540] Compiling AssistantV1 DialogNodeAction.swift
[114/540] Compiling DiscoveryV1 DeleteEnvironmentResponse.swift
[115/540] Compiling DiscoveryV2 DefaultQueryParamsSuggestedRefinements.swift
[116/540] Compiling DiscoveryV2 DefaultQueryParamsTableResults.swift
[117/540] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[118/540] Compiling TextToSpeechV1 WAVRepair.swift
[119/540] Compiling DiscoveryV2 DocumentAttribute.swift
[120/540] Compiling AssistantV1 DialogNodeOutputGenericDialogNodeOutputResponseTypeAudio.swift
[121/540] Compiling DiscoveryV1 Environment.swift
[122/540] Compiling DiscoveryV1 EnvironmentDocuments.swift
[123/540] Compiling DiscoveryV1 EventData.swift
[124/540] Compiling DiscoveryV1 Expansion.swift
[125/540] Compiling DiscoveryV1 Expansions.swift
[126/540] Compiling DiscoveryV1 Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeech.swift:98:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  96 |     public init(authenticator: Authenticator) {
  97 |         self.authenticator = authenticator
  98 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  99 |     }
 100 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeech.swift:98:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  96 |     public init(authenticator: Authenticator) {
  97 |         self.authenticator = authenticator
  98 |         RestRequest.userAgent = Shared.userAgent
     |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
  99 |     }
 100 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
[182/549] Emitting module NaturalLanguageUnderstandingV1
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[190/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeSuggestion.swift
[191/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeText.swift
[192/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeUserDefined.swift
[193/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeVideo.swift
[194/549] Compiling AssistantV1 Synonym.swift
[195/549] Compiling AssistantV1 SynonymCollection.swift
[196/549] Compiling AssistantV1 Value.swift
[197/549] Compiling AssistantV1 ValueCollection.swift
[198/549] Compiling AssistantV1 Webhook.swift
[205/549] Compiling NaturalLanguageUnderstandingV1 SyntaxResult.swift
[206/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeImage.swift
[207/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeOption.swift
[208/549] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypePause.swift
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/Assistant.swift:96:21: warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 94 |         self.version = version
 95 |         self.authenticator = authenticator
 96 |         RestRequest.userAgent = Shared.userAgent
    |                     `- warning: reference to static property 'userAgent' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |     #endif
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sdk-core/Sources/IBMSwiftSDKCore/RestRequest.swift:28:23: note: static property declared here
 26 |     /// The "User-Agent" header that will be sent with every network request
 27 |     /// This can include information such as the operating system and the SDK/framework calling this API
 28 |     public static var userAgent: String?
    |                       `- note: static property declared here
 29 |
 30 |     private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/InsecureConnection.swift:33:7: warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |       `- warning: non-final class 'AllowInsecureConnectionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
[222/558] Compiling AssistantV2 SearchResult.swift
[223/558] Compiling AssistantV2 SearchResultAnswer.swift
[224/558] Compiling AssistantV2 SearchResultHighlight.swift
[225/558] Compiling AssistantV2 SearchResultMetadata.swift
[226/558] Compiling AssistantV2 SessionResponse.swift
[227/558] Compiling AssistantV2 Shared.swift
[228/558] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.swift
[229/558] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.swift
[230/558] Compiling AssistantV1 RuntimeResponseGenericRuntimeResponseTypeIframe.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AssistantV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/34] Compiling IBMSwiftSDKCore RestRequest.swift
[3/34] Compiling IBMSwiftSDKCore MultipartFormData.swift
[4/34] Compiling IBMSwiftSDKCore CodableExtensions.swift
[5/34] Compiling IBMSwiftSDKCore RestError.swift
[6/34] Compiling IBMSwiftSDKCore JSON.swift
[7/35] Compiling Starscream Framer.swift
[8/35] Compiling Starscream HTTPHandler.swift
[9/35] Compiling IBMSwiftSDKCore CredentialUtils.swift
[10/35] Compiling Starscream Data+Extensions.swift
[11/35] Compiling Starscream WSEngine.swift
[12/35] Emitting module IBMSwiftSDKCore
[13/35] Compiling Starscream Compression.swift
[14/35] Compiling Starscream WSCompression.swift
[15/35] Emitting module Starscream
[16/37] Compiling Starscream FoundationHTTPServerHandler.swift
[17/37] Compiling Starscream FrameCollector.swift
[18/37] Compiling Starscream Security.swift
[19/37] Compiling Starscream Server.swift
[21/37] Compiling Starscream FoundationHTTPHandler.swift
[22/37] Compiling Starscream StringHTTPHandler.swift
[23/37] Compiling Starscream FoundationSecurity.swift
[24/37] Compiling Starscream Engine.swift
[25/37] Compiling Starscream NativeEngine.swift
[26/37] Compiling IBMSwiftSDKCore RestResponse.swift
[27/37] Compiling Starscream WebSocketServer.swift
[28/37] Compiling Starscream WebSocket.swift
[29/37] Compiling Starscream FoundationTransport.swift
[30/37] Compiling Starscream TCPTransport.swift
[31/37] Compiling Starscream Transport.swift
[32/37] Compiling Starscream resource_bundle_accessor.swift
[33/464] Compiling AssistantV2 AgentAvailabilityMessage.swift
[34/464] Compiling AssistantV2 BulkClassifyOutput.swift
[35/464] Compiling AssistantV2 BulkClassifyResponse.swift
[36/464] Compiling AssistantV2 Assistant.swift
[37/464] Compiling AssistantV2 InsecureConnection.swift
[38/512] Compiling LanguageTranslatorV3 TranslationResult.swift
[39/512] Compiling LanguageTranslatorV3 TranslationModels.swift
[40/513] Compiling SpeechToTextV1 ProcessingMetrics.swift
[41/513] Compiling SpeechToTextV1 RecognitionJob.swift
[42/515] Compiling SpeechToTextV1 CustomWord.swift
[43/515] Compiling SpeechToTextV1 Grammar.swift
[44/515] Compiling SpeechToTextV1 Grammars.swift
[45/515] Compiling SpeechToTextV1 KeywordResult.swift
[46/515] Compiling SpeechToTextV1 LanguageModel.swift
[47/515] Compiling SpeechToTextV1 Corpora.swift
[48/515] Compiling SpeechToTextV1 Corpus.swift
[49/515] Compiling SpeechToTextV1 AudioMetricsDetails.swift
[50/515] Compiling SpeechToTextV1 AudioMetricsHistogramBin.swift
[51/515] Compiling SpeechToTextV1 AudioResource.swift
[52/515] Compiling SpeechToTextV1 AudioResources.swift
[53/515] Compiling SpeechToTextV1 AudioListing.swift
[54/515] Compiling SpeechToTextV1 AudioMetrics.swift
[55/515] Compiling LanguageTranslatorV3 TranslationModel.swift
[63/515] Compiling SpeechToTextV1 LanguageModels.swift
[64/515] Compiling SpeechToTextV1 ProcessedAudio.swift
[65/515] Emitting module TextToSpeechV1
[66/515] Compiling SpeechToTextV1 Words.swift
[67/515] Compiling SpeechToTextV1 Shared.swift
[68/515] Compiling SpeechToTextV1 SpeechToText+Recognize.swift
[69/515] Compiling SpeechToTextV1 SpeechToText.swift
[70/515] Compiling DiscoveryV1 MetricResponse.swift
[71/515] Compiling DiscoveryV1 MetricTokenAggregation.swift
[72/521] Compiling LanguageTranslatorV3 Shared.swift
[73/521] Compiling SpeechToTextV1 Word.swift
[74/521] Compiling SpeechToTextV1 WordAlternativeResult.swift
[75/521] Compiling SpeechToTextV1 WordAlternativeResults.swift
[76/521] Compiling SpeechToTextV1 WordConfidence.swift
[77/521] Compiling SpeechToTextV1 WordError.swift
[78/521] Compiling SpeechToTextV1 WordTimestamp.swift
[79/521] Compiling SpeechToTextV1 AcousticModels.swift
[80/521] Compiling SpeechToTextV1 AudioDetails.swift
[81/521] Emitting module LanguageTranslatorV3
[82/521] Compiling SpeechToTextV1 InsecureConnection.swift
[83/521] Compiling SpeechToTextV1 AcousticModel.swift
[84/521] Compiling DiscoveryV1 MetricTokenAggregationResult.swift
[85/521] Compiling DiscoveryV1 MetricTokenResponse.swift
[86/521] Compiling DiscoveryV1 NluEnrichmentConcepts.swift
[87/521] Compiling DiscoveryV1 NluEnrichmentEmotion.swift
[88/521] Compiling DiscoveryV1 NluEnrichmentEntities.swift
[89/521] Compiling DiscoveryV1 NluEnrichmentFeatures.swift
[90/521] Compiling SpeechToTextV1 TrainingWarning.swift
[91/521] Compiling SpeechToTextV1 RegisterStatus.swift
[92/521] Compiling SpeechToTextV1 SpeakerLabelsResult.swift
[93/521] Compiling SpeechToTextV1 SpeechModel.swift
[94/521] Compiling SpeechToTextV1 SpeechModels.swift
[95/521] Compiling SpeechToTextV1 SpeechRecognitionAlternative.swift
[98/521] Compiling TextToSpeechV1 TextToSpeechDecoder.swift
[99/521] Compiling TextToSpeechV1 WAVRepair.swift
[100/521] Compiling SpeechToTextV1 RecognitionState.swift
[101/521] Compiling SpeechToTextV1 RecognitionStop.swift
[114/521] Compiling SpeechToTextV1 RecognizeCallback.swift
[115/521] Compiling SpeechToTextV1 SpeechRecognitionResultsAccumulator.swift
[116/521] Compiling SpeechToTextV1 SpeechRecognitionResult.swift
[117/521] Compiling SpeechToTextV1 SpeechRecognitionResults.swift
[118/521] Compiling SpeechToTextV1 SupportedFeatures.swift
[119/521] Compiling SpeechToTextV1 TrainingResponse.swift
[120/521] Emitting module NaturalLanguageUnderstandingV1
[121/521] Compiling NaturalLanguageUnderstandingV1 TargetedEmotionResults.swift
[122/521] Compiling NaturalLanguageUnderstandingV1 TargetedSentimentResults.swift
[123/521] Compiling NaturalLanguageUnderstandingV1 TokenResult.swift
[124/521] Compiling NaturalLanguageUnderstandingV1 NaturalLanguageUnderstanding.swift
[125/521] Compiling NaturalLanguageUnderstandingV1 Shared.swift
[126/521] Compiling DiscoveryV1 PDFHeadingDetection.swift
[127/521] Compiling DiscoveryV1 PDFSettings.swift
[134/521] Compiling NaturalLanguageUnderstandingV1 SyntaxResult.swift
[135/528] Compiling DiscoveryV1 QueryResult.swift
[136/528] Compiling DiscoveryV1 QueryResultMetadata.swift
[137/528] Compiling DiscoveryV1 QueryTermAggregation.swift
[138/528] Compiling DiscoveryV1 QueryTermAggregationResult.swift
[139/528] Compiling DiscoveryV1 QueryTimesliceAggregation.swift
[140/528] Compiling DiscoveryV1 QueryTimesliceAggregationResult.swift
[141/528] Compiling DiscoveryV1 QueryTopHitsAggregation.swift
[142/528] Compiling DiscoveryV1 QueryTopHitsAggregationResult.swift
[143/528] Compiling DiscoveryV1 RetrievalDetails.swift
[144/537] Compiling AssistantV2 SearchResult.swift
[145/537] Compiling AssistantV2 SearchResultAnswer.swift
[146/537] Compiling AssistantV2 SearchResultHighlight.swift
[147/537] Compiling AssistantV2 SearchResultMetadata.swift
[148/537] Compiling AssistantV2 SessionResponse.swift
[149/537] Compiling AssistantV2 Shared.swift
[150/537] Compiling DiscoveryV1 QueryNoticesResult.swift
[151/537] Compiling DiscoveryV1 QueryPassages.swift
[152/537] Compiling DiscoveryV1 QueryResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:70:19: error: cannot find 'opus_decoder_create' in scope
 68 |         // status to catch errors when creating decoder
 69 |         var status = Int32(0)
 70 |         decoder = opus_decoder_create(sampleRate, numChannels, &status)
    |                   `- error: cannot find 'opus_decoder_create' in scope
 71 |
 72 |         // initialize ogg sync state
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:129:9: error: cannot find 'opus_multistream_decoder_destroy' in scope
127 |
128 |         // perform cleanup
129 |         opus_multistream_decoder_destroy(decoder)
    |         `- error: cannot find 'opus_multistream_decoder_destroy' in scope
130 |         if !beginStream {
131 |             ogg_stream_clear(&streamState)
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:145:21: error: cannot find 'opus_multistream_decoder_destroy' in scope
143 |                 if hasOpusStream && hasTagsPacket {
144 |                     hasOpusStream = false
145 |                     opus_multistream_decoder_destroy(decoder)
    |                     `- error: cannot find 'opus_multistream_decoder_destroy' in scope
146 |                 }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:187:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
185 |
186 |                 // deallocate pcmDataBuffer when the function ends, regardless if the function ended normally or with an error.
187 |                 defer {
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
188 |                     pcmDataBuffer.deallocate()
189 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:205:42: error: cannot find 'opus_multistream_decode_float' in scope
203 |
204 |                 // Decode opus packet.
205 |                 numberOfSamplesDecoded = opus_multistream_decode_float(decoder, packet.packet, Int32(packet.bytes), pcmDataBuffer, MAX_FRAME_SIZE, 0)
    |                                          `- error: cannot find 'opus_multistream_decode_float' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:208:65: error: cannot find 'opus_strerror' in scope
206 |
207 |                 if numberOfSamplesDecoded < 0 {
208 |                     NSLog("Decoding error: \(String(describing: opus_strerror(numberOfSamplesDecoded)))")
    |                                                                 `- error: cannot find 'opus_strerror' in scope
209 |                     throw OpusError.internalError
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:244:19: error: cannot find 'opus_multistream_decoder_create' in scope
242 |         }
243 |
244 |         decoder = opus_multistream_decoder_create(sampleRate, channels, header.nb_streams, header.nb_coupled, &header.stream_map.0, &status)
    |                   `- error: cannot find 'opus_multistream_decoder_create' in scope
245 |         if status != OpusError.okay.rawValue {
246 |             throw OpusError.badArgument
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:312:32: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
310 |
311 |         var chunkSize = Int32(pcmDataLength + headerSize - 4).littleEndian
312 |         let chunkSizePointer = UnsafeBufferPointer(start: &chunkSize, count: 1)
    |                                |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
313 |         header.append(chunkSizePointer)
314 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:323:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
321 |
322 |         var subchunk1Size = Int32(16).littleEndian
323 |         let subchunk1SizePointer = UnsafeBufferPointer(start: &subchunk1Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
324 |         header.append(subchunk1SizePointer)
325 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:327:34: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
325 |
326 |         var audioFormat = Int16(1).littleEndian
327 |         let audioFormatPointer = UnsafeBufferPointer(start: &audioFormat, count: 1)
    |                                  |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                  |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                  `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
328 |         header.append(audioFormatPointer)
329 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:331:40: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
329 |
330 |         var headerNumChannels = Int16(numChannels).littleEndian
331 |         let headerNumChannelsPointer = UnsafeBufferPointer(start: &headerNumChannels, count: 1)
    |                                        |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                        |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                        `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
332 |         header.append(headerNumChannelsPointer)
333 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:335:39: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
333 |
334 |         var headerSampleRate = Int32(sampleRate).littleEndian
335 |         let headerSampleRatePointer = UnsafeBufferPointer(start: &headerSampleRate, count: 1)
    |                                       |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                       |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                       `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
336 |         header.append(headerSampleRatePointer)
337 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:339:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
337 |
338 |         var byteRate = Int32(sampleRate * numChannels * bitsPerSample / 8).littleEndian
339 |         let byteRatePointer = UnsafeBufferPointer(start: &byteRate, count: 1)
    |                               |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                               |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                               `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
340 |         header.append(byteRatePointer)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:343:33: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
341 |
342 |         var blockAlign = Int16(numChannels * bitsPerSample / 8).littleEndian
343 |         let blockAlignPointer = UnsafeBufferPointer(start: &blockAlign, count: 1)
    |                                 |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
344 |         header.append(blockAlignPointer)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:347:42: warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
345 |
346 |         var headerBitsPerSample = Int16(bitsPerSample).littleEndian
347 |         let headerBitsPerSamplePointer = UnsafeBufferPointer(start: &headerBitsPerSample, count: 1)
    |                                          |                          |- note: implicit argument conversion from 'Int16' to 'UnsafePointer<Int16>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                          |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                          `- warning: initialization of 'UnsafeBufferPointer<Int16>' results in a dangling buffer pointer
348 |         header.append(headerBitsPerSamplePointer)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:355:36: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
353 |
354 |         var subchunk2Size = Int32(pcmDataLength).littleEndian
355 |         let subchunk2SizePointer = UnsafeBufferPointer(start: &subchunk2Size, count: 1)
    |                                    |                          |- note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                                    |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                    `- warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
356 |         header.append(subchunk2SizePointer)
357 |
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:376:28: error: cannot find 'OPUS_OK' in scope
374 |     var rawValue: Int32 {
375 |         switch self {
376 |         case .okay: return OPUS_OK
    |                            `- error: cannot find 'OPUS_OK' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:377:35: error: cannot find 'OPUS_BAD_ARG' in scope
375 |         switch self {
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
    |                                   `- error: cannot find 'OPUS_BAD_ARG' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:378:38: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
376 |         case .okay: return OPUS_OK
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
    |                                      `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:379:37: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
377 |         case .badArgument: return OPUS_BAD_ARG
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
    |                                     `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:380:37: error: cannot find 'OPUS_INVALID_PACKET' in scope
378 |         case .bufferTooSmall: return OPUS_BUFFER_TOO_SMALL
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
    |                                     `- error: cannot find 'OPUS_INVALID_PACKET' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:381:37: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
379 |         case .internalError: return OPUS_INTERNAL_ERROR
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
    |                                     `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:382:36: error: cannot find 'OPUS_INVALID_STATE' in scope
380 |         case .invalidPacket: return OPUS_INVALID_PACKET
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
    |                                    `- error: cannot find 'OPUS_INVALID_STATE' in scope
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
384 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:383:41: error: cannot find 'OPUS_ALLOC_FAIL' in scope
381 |         case .unimplemented: return OPUS_UNIMPLEMENTED
382 |         case .invalidState: return OPUS_INVALID_STATE
383 |         case .allocationFailure: return OPUS_ALLOC_FAIL
    |                                         `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
384 |         }
385 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:389:14: error: cannot find 'OPUS_OK' in scope
387 |     init?(rawValue: Int32) {
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
    |              `- error: cannot find 'OPUS_OK' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:390:14: error: cannot find 'OPUS_BAD_ARG' in scope
388 |         switch rawValue {
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
    |              `- error: cannot find 'OPUS_BAD_ARG' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:391:14: error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
389 |         case OPUS_OK: self = .okay
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
    |              `- error: cannot find 'OPUS_BUFFER_TOO_SMALL' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:392:14: error: cannot find 'OPUS_INTERNAL_ERROR' in scope
390 |         case OPUS_BAD_ARG: self = .badArgument
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
    |              `- error: cannot find 'OPUS_INTERNAL_ERROR' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:393:14: error: cannot find 'OPUS_INVALID_PACKET' in scope
391 |         case OPUS_BUFFER_TOO_SMALL: self = .bufferTooSmall
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
    |              `- error: cannot find 'OPUS_INVALID_PACKET' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:394:14: error: cannot find 'OPUS_UNIMPLEMENTED' in scope
392 |         case OPUS_INTERNAL_ERROR: self = .internalError
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
    |              `- error: cannot find 'OPUS_UNIMPLEMENTED' in scope
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:395:14: error: cannot find 'OPUS_INVALID_STATE' in scope
393 |         case OPUS_INVALID_PACKET: self = .invalidPacket
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
    |              `- error: cannot find 'OPUS_INVALID_STATE' in scope
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
397 |         default: return nil
/Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/TextToSpeechDecoder.swift:396:14: error: cannot find 'OPUS_ALLOC_FAIL' in scope
394 |         case OPUS_UNIMPLEMENTED: self = .unimplemented
395 |         case OPUS_INVALID_STATE: self = .invalidState
396 |         case OPUS_ALLOC_FAIL: self = .allocationFailure
    |              `- error: cannot find 'OPUS_ALLOC_FAIL' in scope
397 |         default: return nil
398 |         }
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: you may be able to install ogg using your system-packager:
    brew install libogg
warning: you may be able to install opus using your system-packager:
    brew install opus
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
    /Users/admin/builder/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/custom_prompt_audio.wav
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
    /Users/admin/builder/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
    /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
    /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
    /Users/admin/builder/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
    /Users/admin/builder/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
    /Users/admin/builder/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
    /Users/admin/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/admin/builder/spi-builder-workspace/Sources/AssistantV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/AssistantV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
BUILD FAILURE 6.1 macosSpm