Build Information
Successful build of SwiftWhisper with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftWhisper.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/exPHAT/SwiftWhisper
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c340197 Update fast branch commit hash
Submodule path 'whisper.cpp': checked out '95b02d76b04d18e4ce37ed8353a1f0797f1717ea'
Submodule path 'whisper.cpp/bindings/ios': checked out 'de46d9e7817fe851c109d66080239d415812d32a'
Submodule 'whisper.cpp' (https://github.com/ggerganov/whisper.cpp.git) registered for path 'whisper.cpp'
Cloning into '/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/whisper.cpp'...
Submodule 'bindings/ios' (https://github.com/ggerganov/whisper.spm) registered for path 'whisper.cpp/bindings/ios'
Cloning into '/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/whisper.cpp/bindings/ios'...
Cloned https://github.com/exPHAT/SwiftWhisper.git
Revision (git rev-parse @):
c340197966ebd264f3135d3955874b40f8ed58bc
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftWhisper.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/exPHAT/SwiftWhisper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--423B1241ED78D482.txt
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:25:44: warning: 'whisper_encoder_impl' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
const void * data = CFBridgingRetain([[whisper_encoder_impl alloc] initWithContentsOfURL:url_model error:nil]);
^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder-impl.h:41:12: note: 'whisper_encoder_impl' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 10.13.0
@interface whisper_encoder_impl : NSObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:25:44: note: enclose 'whisper_encoder_impl' in an @available check to silence this warning
const void * data = CFBridgingRetain([[whisper_encoder_impl alloc] initWithContentsOfURL:url_model error:nil]);
^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:56:5: warning: 'whisper_encoder_implOutput' is only available on macOS 12.0 or newer [-Wunguarded-availability-new]
whisper_encoder_implOutput * outCoreML = [(__bridge id) ctx->data predictionFromLogmel_data:inMultiArray error:nil];
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder-impl.h:29:12: note: 'whisper_encoder_implOutput' has been marked as being introduced in macOS 12.0 here, but the deployment target is macOS 10.13.0
@interface whisper_encoder_implOutput : NSObject<MLFeatureProvider>
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/whisper_cpp/coreml/whisper-encoder.mm:56:5: note: enclose 'whisper_encoder_implOutput' in an @available check to silence this warning
whisper_encoder_implOutput * outCoreML = [(__bridge id) ctx->data predictionFromLogmel_data:inMultiArray error:nil];
^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[2/6] Compiling whisper-encoder.mm
[3/6] Compiling whisper_cpp whisper.cpp
[4/6] Compiling whisper-encoder-impl.m
[5/6] Compiling whisper_cpp ggml.c
[7/14] Compiling SwiftWhisper WhisperDelegate.swift
[8/14] Compiling SwiftWhisper Segment.swift
[9/14] Compiling SwiftWhisper WhisperLanguage.swift
[10/14] Emitting module SwiftWhisper
[11/14] Compiling SwiftWhisper Whisper.swift
[12/14] Compiling SwiftWhisper WhisperParams.swift
[13/14] Compiling SwiftWhisper WhisperError.swift
[14/14] Compiling SwiftWhisper WhisperSamplingStrategy.swift
Build complete! (12.38s)
Build complete.
Done.