The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatsonDeveloperCloud with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/watson-developer-cloud/swift-sdk.git
Reference: 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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/watson-developer-cloud/swift-sdk.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/IBM/swift-sdk-core
Fetching https://github.com/daltoniam/Starscream
[1/988] Fetching swift-sdk-core
[397/5783] Fetching swift-sdk-core, starscream
Fetched https://github.com/IBM/swift-sdk-core from cache (0.27s)
[2014/4795] Fetching starscream
Fetched https://github.com/daltoniam/Starscream from cache (0.46s)
Computing version for https://github.com/IBM/swift-sdk-core
Computed https://github.com/IBM/swift-sdk-core at 1.2.1 (1.25s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.49s)
Creating working copy for https://github.com/IBM/swift-sdk-core
Working copy of https://github.com/IBM/swift-sdk-core resolved at 1.2.1
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
warning: 'spi-builder-workspace': ignoring broken symlink /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/custom_prompt_audio.wav
    /host/spi-builder-workspace/Tests/TextToSpeechV1Tests/Resources/audio.ogg
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': 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/healthcare-short.txt
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
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 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DiscoveryV2/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/discoverySample.json
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/KennedySpeech.html
    /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/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/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/AssistantV1/README.md
warning: couldn't find pc file for opus
warning: couldn't find pc file for ogg
Building for debugging...
[0/12] Write sources
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
#  include <ogg/config_types.h>
           ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/12] Compiling Copustools opus_header.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
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 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': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/confirm.abnf
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.ogg
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.flac
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/StockAnnouncement.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/SpeechSample.wav
    /host/spi-builder-workspace/Tests/SpeechToTextV1Tests/Resources/healthcare-short.txt
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeechToTextV1/README.md
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_training_data.csv
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_classifications_training.json
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/testArticle.html
    /host/spi-builder-workspace/Tests/NaturalLanguageUnderstandingV1Tests/Resources/nlu_categories_training.json
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/NaturalLanguageUnderstandingV1/README.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/glossary.tmx
    /host/spi-builder-workspace/Tests/LanguageTranslatorV3Tests/Resources/common-phrases.pptx
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/LanguageTranslatorV3/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.json
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/analyzeDocument.txt
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/TestEnrichments.csv
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/KennedySpeech.html
    /host/spi-builder-workspace/Tests/DiscoveryV2Tests/Resources/Jeopardy.html
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 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/DiscoveryV1Tests/Resources/stopwords.txt
    /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/KennedySpeech.html
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/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/AssistantV1/README.md
warning: couldn't find pc file for opus
warning: couldn't find pc file for ogg
[0/1] Planning build
Building for debugging...
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
#  include <ogg/config_types.h>
           ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling Copustools opus_header.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2