Build Information
Failed to build SherpaOnnx, reference main (84b485), with Swift 6.2 for macOS (SPM) on 15 Sep 2026 04:47:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/willwade/sherpa-onnx-spm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/willwade/sherpa-onnx-spm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 84b485d Update to sherpa-onnx v1.13.8 (iOS + macOS)
Cloned https://github.com/willwade/sherpa-onnx-spm.git
Revision (git rev-parse @):
84b485d6357382faefb066d15854fa50d417aad9
SUCCESS checkout https://github.com/willwade/sherpa-onnx-spm.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/willwade/sherpa-onnx-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying libsherpa-onnx.a
[0/4] Copying libonnxruntime.a
[2/4] Write sources
[3/4] Write swift-version--3CB7CFEC50E0D141.txt
[5/6] Emitting module SherpaOnnx
[6/6] Compiling SherpaOnnx SherpaOnnx.swift
/Users/admin/builder/spi-builder-workspace/Sources/SherpaOnnx/SherpaOnnx.swift:1738:90: error: missing argument for parameter 'window_shift_ratio' in call
1736 | -> SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig
1737 | {
1738 | return SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig(model: toCPointer(model))
| `- error: missing argument for parameter 'window_shift_ratio' in call
1739 | }
1740 |
/Users/admin/builder/spi-builder-workspace/.build/artifacts/spi-builder-workspace/sherpa-onnx/sherpa-onnx.xcframework/macos-arm64_x86_64/Headers/sherpa-onnx/c-api/c-api.h:3836:16: note: 'init(model:window_shift_ratio:)' declared here
3834 | // =========================================================================
3835 | /** @brief Pyannote speaker-segmentation model configuration. */
3836 | typedef struct SherpaOnnxOfflineSpeakerSegmentationPyannoteModelConfig {
| `- note: 'init(model:window_shift_ratio:)' declared here
3837 | /** Segmentation model filename. */
3838 | const char *model;
/Users/admin/builder/spi-builder-workspace/Sources/SherpaOnnx/SherpaOnnx.swift:1758:95: error: missing argument for parameter 'compute_confidence' in call
1756 | -> SherpaOnnxFastClusteringConfig
1757 | {
1758 | return SherpaOnnxFastClusteringConfig(num_clusters: Int32(numClusters), threshold: threshold)
| `- error: missing argument for parameter 'compute_confidence' in call
1759 | }
1760 |
/Users/admin/builder/spi-builder-workspace/.build/artifacts/spi-builder-workspace/sherpa-onnx/sherpa-onnx.xcframework/macos-arm64_x86_64/Headers/sherpa-onnx/c-api/c-api.h:3872:16: note: 'init(num_clusters:threshold:compute_confidence:)' declared here
3870 | * recommended.
3871 | */
3872 | typedef struct SherpaOnnxFastClusteringConfig {
| `- note: 'init(num_clusters:threshold:compute_confidence:)' declared here
3873 | /** Known number of speakers. If > 0, threshold-based clustering is bypassed.
3874 | */
/Users/admin/builder/spi-builder-workspace/Sources/SherpaOnnx/SherpaOnnx.swift:1928:84: error: missing argument for parameter 'attenuation_limit_db' in call
1926 | -> SherpaOnnxOfflineSpeechDenoiserDpdfNetModelConfig
1927 | {
1928 | return SherpaOnnxOfflineSpeechDenoiserDpdfNetModelConfig(model: toCPointer(model))
| `- error: missing argument for parameter 'attenuation_limit_db' in call
1929 | }
1930 |
/Users/admin/builder/spi-builder-workspace/.build/artifacts/spi-builder-workspace/sherpa-onnx/sherpa-onnx.xcframework/macos-arm64_x86_64/Headers/sherpa-onnx/c-api/c-api.h:4113:16: note: 'init(model:attenuation_limit_db:)' declared here
4111 |
4112 | /** @brief DPDFNet offline denoiser model configuration. */
4113 | typedef struct SherpaOnnxOfflineSpeechDenoiserDpdfNetModelConfig {
| `- note: 'init(model:attenuation_limit_db:)' declared here
4114 | /** Model filename. */
4115 | const char *model;
Downloading binary artifact https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/sherpa-onnx.xcframework.zip
Downloading binary artifact https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/onnxruntime.xcframework.zip
[16375/29500667] Downloading https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/sherpa-onnx.xcframework.zip
[15529986/94818661] Downloading https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/sherpa-onnx.xcframework.zip, https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/onnxruntime.xcframework.zip
Downloaded https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/sherpa-onnx.xcframework.zip (2.17s)
Downloaded https://github.com/willwade/sherpa-onnx-spm/releases/download/1.13.8/onnxruntime.xcframework.zip (3.64s)
BUILD FAILURE 6.2 macosSpm