The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatsonDeveloperCloud, reference v5.0.0 (8359f8), with Swift 6.4 for Wasm on 18 Sep 2026 05:46:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: v5.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/watson-developer-cloud/swift-sdk
 * tag               v5.0.0     -> FETCH_HEAD
HEAD is now at 8359f8d Update to 5.0.0 (#1067)
Cloned https://github.com/watson-developer-cloud/swift-sdk.git
Revision (git rev-parse @):
8359f8d2000c53d11d0757d5413f411ac34fac4e
SUCCESS checkout https://github.com/watson-developer-cloud/swift-sdk.git at v5.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[1/988] Fetching swift-sdk-core
[989/6185] Fetching swift-sdk-core, starscream
Fetched https://github.com/IBM/swift-sdk-core (1.06s)
Fetched https://github.com/daltoniam/Starscream (1.06s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (2.11s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.18s)
Creating working copy for https://github.com/IBM/swift-sdk-core
Working copy of https://github.com/IBM/swift-sdk-core resolved at 1.2.1
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/AssistantV2Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/DiscoveryV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': ignoring broken symlink /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/WatsonCredentials.swift
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
    /host/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
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
    /host/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
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/metadata.json
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/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
    /host/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
    /host/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
    /host/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
    /host/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
    /host/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
    /host/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
    /host/spi-builder-workspace/Sources/TextToSpeechV1/README.md
warning: 'spi-builder-workspace': couldn't find pc file for opus
warning: 'spi-builder-workspace': couldn't find pc file for ogg
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 593]
[Planning deferred tasks]
[6 / 156] Starscream-product
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/opus_header.c:32:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/opus_header.h:31:
In file included from /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/ogg.h:24:
/host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/include/os_types.h:154:12: fatal error: 'ogg/config_types.h' file not found
  154 | #  include <ogg/config_types.h>
      |            ^~~~~~~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/opus_header.o /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/opus_header.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/opus_header.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/opus_header.dia -c /host/spi-builder-workspace/Sources/SupportingFiles/Dependencies/Copustools/opus_header.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/WatsonDeveloperCloud.build/Debug-webassembly-wasm32/Copustools-t.build/Objects-normal/wasm32/opus_header.o
error: Build failed
BUILD FAILURE 6.4 wasm