Build Information
Failed to build SFBAudioEngine, reference 0.12.1 (10670e), with Swift 6.1 for macOS (SPM) on 28 Feb 2026 06:18:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/SFBAudioEngine.git
Reference: 0.12.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/SFBAudioEngine
* tag 0.12.1 -> FETCH_HEAD
HEAD is now at 10670eb Improve verification of seek parameters (#884)
Cloned https://github.com/sbooth/SFBAudioEngine.git
Revision (git rev-parse @):
10670eb58f9acc0e5ac2907dc744a78ade2597cd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/SFBAudioEngine.git at 0.12.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sbooth/SFBAudioEngine.git
https://github.com/sbooth/SFBAudioEngine.git
{
"c_language_standard" : "c11",
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "avfaudioextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/AVFAudioExtensions"
},
{
"identity" : "cxxaudioringbuffer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXAudioRingBuffer"
},
{
"identity" : "cxxdispatchsemaphore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "0.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXDispatchSemaphore"
},
{
"identity" : "cxxringbuffer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "0.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXRingBuffer"
},
{
"identity" : "cxxunfairlock",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXUnfairLock"
},
{
"identity" : "cdumb",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CDUMB"
},
{
"identity" : "cxxmonkeysaudio",
"requirement" : {
"range" : [
{
"lower_bound" : "12.13.0",
"upper_bound" : "13.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXMonkeysAudio"
},
{
"identity" : "cxxtaglib",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CXXTagLib"
},
{
"identity" : "wavpack-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/wavpack-binary-xcframework"
},
{
"identity" : "ogg-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.3",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/ogg-binary-xcframework"
},
{
"identity" : "flac-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/flac-binary-xcframework"
},
{
"identity" : "opus-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/opus-binary-xcframework"
},
{
"identity" : "vorbis-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/vorbis-binary-xcframework"
},
{
"identity" : "cspeex",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/CSpeex"
},
{
"identity" : "lame-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/lame-binary-xcframework"
},
{
"identity" : "mpc-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/mpc-binary-xcframework"
},
{
"identity" : "mpg123-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/mpg123-binary-xcframework"
},
{
"identity" : "sndfile-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/sndfile-binary-xcframework"
},
{
"identity" : "tta-cpp-binary-xcframework",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sbooth/tta-cpp-binary-xcframework"
}
],
"manifest_display_name" : "SFBAudioEngine",
"name" : "SFBAudioEngine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SFBAudioEngine",
"targets" : [
"CSFBAudioEngine",
"SFBAudioEngine"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SFBAudioEngineTests",
"module_type" : "SwiftTarget",
"name" : "SFBAudioEngineTests",
"path" : "Tests/SFBAudioEngineTests",
"sources" : [
"SFBAudioEngineTests.swift"
],
"target_dependencies" : [
"SFBAudioEngine"
],
"type" : "test"
},
{
"c99name" : "SFBAudioEngine",
"module_type" : "SwiftTarget",
"name" : "SFBAudioEngine",
"path" : "Sources/SFBAudioEngine",
"product_memberships" : [
"SFBAudioEngine"
],
"sources" : [
"SFBAudioEngine.swift",
"SFBAudioMetadata.swift",
"SFBAudioPlayer.swift",
"SFBAudioProperties.swift",
"SFBInputSource.swift",
"SFBOutputTarget.swift",
"SFBPlaybackPosition.swift",
"SFBPlaybackTime.swift"
],
"target_dependencies" : [
"CSFBAudioEngine"
],
"type" : "library"
},
{
"c99name" : "CSFBAudioEngine",
"module_type" : "ClangTarget",
"name" : "CSFBAudioEngine",
"path" : "Sources/CSFBAudioEngine",
"product_dependencies" : [
"AVFAudioExtensions",
"CXXAudioRingBuffer",
"CXXDispatchSemaphore",
"CXXRingBuffer",
"CXXUnfairLock",
"dumb",
"MAC",
"taglib",
"wavpack",
"ogg",
"FLAC",
"opus",
"vorbis",
"speex",
"lame",
"mpc",
"mpg123",
"sndfile",
"tta-cpp"
],
"product_memberships" : [
"SFBAudioEngine"
],
"sources" : [
"Analysis/SFBReplayGainAnalyzer.mm",
"Analysis/loudness_ebur128/ebur128_analyzer.cc",
"Analysis/loudness_ebur128/k_weighting.cc",
"Conversion/SFBAudioConverter.m",
"Conversion/SFBAudioExporter.m",
"Decoders/SFBAudioDecoder.m",
"Decoders/SFBAudioRegionDecoder.m",
"Decoders/SFBCoreAudioDecoder.mm",
"Decoders/SFBDSDDecoder.m",
"Decoders/SFBDSDIFFDecoder.mm",
"Decoders/SFBDSDPCMDecoder.mm",
"Decoders/SFBDSFDecoder.m",
"Decoders/SFBDoPDecoder.m",
"Decoders/SFBFLACDecoder.mm",
"Decoders/SFBLibsndfileDecoder.m",
"Decoders/SFBMPEGDecoder.m",
"Decoders/SFBModuleDecoder.m",
"Decoders/SFBMonkeysAudioDecoder.mm",
"Decoders/SFBMusepackDecoder.m",
"Decoders/SFBOggOpusDecoder.m",
"Decoders/SFBOggSpeexDecoder.m",
"Decoders/SFBOggVorbisDecoder.m",
"Decoders/SFBShortenDecoder.mm",
"Decoders/SFBTrueAudioDecoder.mm",
"Decoders/SFBWavPackDecoder.m",
"Encoders/SFBAudioEncoder.m",
"Encoders/SFBCoreAudioEncoder.mm",
"Encoders/SFBFLACEncoder.mm",
"Encoders/SFBLibsndfileEncoder.m",
"Encoders/SFBMP3Encoder.mm",
"Encoders/SFBMonkeysAudioEncoder.mm",
"Encoders/SFBMusepackEncoder.m",
"Encoders/SFBOggOpusEncoder.mm",
"Encoders/SFBOggSpeexEncoder.m",
"Encoders/SFBOggVorbisEncoder.m",
"Encoders/SFBTrueAudioEncoder.mm",
"Encoders/SFBWavPackEncoder.m",
"Input/SFBDataInputSource.m",
"Input/SFBFileContentsInputSource.m",
"Input/SFBFileInputSource.m",
"Input/SFBInputSource.m",
"Input/SFBMemoryMappedFileInputSource.m",
"Metadata/AddAudioPropertiesToDictionary.mm",
"Metadata/SFBAIFFFile.mm",
"Metadata/SFBAttachedPicture.m",
"Metadata/SFBAudioFile.m",
"Metadata/SFBAudioMetadata+TagLibAPETag.mm",
"Metadata/SFBAudioMetadata+TagLibID3v1Tag.mm",
"Metadata/SFBAudioMetadata+TagLibID3v2Tag.mm",
"Metadata/SFBAudioMetadata+TagLibMP4Tag.mm",
"Metadata/SFBAudioMetadata+TagLibTag.mm",
"Metadata/SFBAudioMetadata+TagLibXiphComment.mm",
"Metadata/SFBAudioMetadata.m",
"Metadata/SFBAudioProperties.m",
"Metadata/SFBDSDIFFFile.mm",
"Metadata/SFBDSFFile.mm",
"Metadata/SFBExtendedModuleFile.mm",
"Metadata/SFBFLACFile.mm",
"Metadata/SFBImpulseTrackerModuleFile.mm",
"Metadata/SFBMP3File.mm",
"Metadata/SFBMP4File.mm",
"Metadata/SFBMonkeysAudioFile.mm",
"Metadata/SFBMusepackFile.mm",
"Metadata/SFBOggFLACFile.mm",
"Metadata/SFBOggOpusFile.mm",
"Metadata/SFBOggSpeexFile.mm",
"Metadata/SFBOggVorbisFile.mm",
"Metadata/SFBProTrackerModuleFile.mm",
"Metadata/SFBScreamTracker3ModuleFile.mm",
"Metadata/SFBShortenFile.mm",
"Metadata/SFBTrueAudioFile.mm",
"Metadata/SFBWAVEFile.mm",
"Metadata/SFBWavPackFile.mm",
"Output/SFBBufferOutputTarget.m",
"Output/SFBFileOutputTarget.m",
"Output/SFBMutableDataOutputTarget.m",
"Output/SFBOutputTarget.m",
"Player/AudioPlayer.mm",
"Player/SFBAudioPlayer.mm",
"Utilities/NSData+SFBExtensions.m",
"Utilities/NSFileHandle+SFBHeaderReading.m",
"Utilities/SFBACLDescription.m",
"Utilities/SFBASBDFormatDescription.m",
"Utilities/SFBAudioEngineTypes.m",
"Utilities/SFBErrorWithLocalizedDescription.m",
"Utilities/SFBLibsndfileUtilities.m",
"Utilities/SFBLocalizedNameForURL.m"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/99] Write sources
[1/99] Copying mpg123.framework
[2/99] Copying wavpack.framework
[2/99] Copying tta-cpp.framework
[2/99] Copying sndfile.framework
[2/99] Copying lame.framework
[2/99] Copying vorbis.framework
[2/99] Copying opus.framework
[8/99] Copying ogg.framework
[9/99] Copying mpc.framework
[10/99] Copying FLAC.framework
[11/99] Write swift-version-2F0A5646E1D333AE.txt
[12/99] Compiling NSFileHandle+SFBHeaderReading.m
[13/99] Compiling NSData+SFBExtensions.m
[14/99] Compiling SFBErrorWithLocalizedDescription.m
[15/99] Compiling SFBMutableDataOutputTarget.m
[16/99] Compiling SFBLocalizedNameForURL.m
[17/99] Compiling SFBFileOutputTarget.m
[18/99] Compiling SFBOutputTarget.m
[19/99] Compiling SFBBufferOutputTarget.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:70:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
70 | std::jthread decodingThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:75:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
75 | std::jthread eventThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:245:31: error: no type named 'stop_token' in namespace 'std'
245 | void processDecoders(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:280:40: error: no type named 'stop_token' in namespace 'std'
280 | void sequenceAndProcessEvents(std::stop_token stoken) noexcept;
| ~~~~~^
4 errors generated.
[20/99] Compiling SFBAudioPlayer.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:70:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
70 | std::jthread decodingThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:75:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
75 | std::jthread eventThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:245:31: error: no type named 'stop_token' in namespace 'std'
245 | void processDecoders(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:280:40: error: no type named 'stop_token' in namespace 'std'
280 | void sequenceAndProcessEvents(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:488:32: error: no member named 'jthread' in namespace 'std'
488 | decodingThread_ = std::jthread(std::bind_front(&sfb::AudioPlayer::processDecoders, this));
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:489:29: error: no member named 'jthread' in namespace 'std'
489 | eventThread_ = std::jthread(std::bind_front(&sfb::AudioPlayer::sequenceAndProcessEvents, this));
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:23: error: expected ';' after expression
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ^
| ;
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:10: error: no member named 'stop_callback' in namespace 'std'
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:67: error: no member named 'get_stop_token' in 'std::thread'
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:554:21: error: no member named 'request_stop' in 'std::thread'
554 | decodingThread_.request_stop();
| ~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:23: error: expected ';' after expression
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ^
| ;
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:10: error: no member named 'stop_callback' in namespace 'std'
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:61: error: no member named 'get_stop_token' in 'std::thread'
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:565:18: error: no member named 'request_stop' in 'std::thread'
565 | eventThread_.request_stop();
| ~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:56: error: use of undeclared identifier 'stoken'; did you mean 'strlen'?
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^~~~~~
| strlen
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_string.h:96:9: note: 'strlen' declared here
96 | size_t strlen(const char *__s);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:24: error: variable has incomplete type 'void'
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:56: error: expected ')'
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:39: note: to match this '('
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:40: error: no member named 'stop_token' in namespace 'std'; did you mean 'typeToken'?
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^~~~~~~~~~~~~~~
| typeToken
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h:99:3: note: 'typeToken' declared here
99 | typeToken = 'toke', /* 0x746f6b65 */
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:63: error: expected ';' after top level declarator
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[20/99] Compiling AudioPlayer.mm
[20/99] Compiling SFBLibsndfileUtilities.m
[20/99] Compiling SFBASBDFormatDescription.m
[20/99] Compiling SFBTrueAudioFile.mm
[20/99] Compiling SFBWavPackFile.mm
[20/99] Compiling SFBWAVEFile.mm
[20/99] Compiling SFBShortenFile.mm
[20/99] Compiling SFBAudioEngineTypes.m
[20/99] Compiling SFBACLDescription.m
Fetching https://github.com/sbooth/mpg123-binary-xcframework
Fetching https://github.com/sbooth/sndfile-binary-xcframework
Fetching https://github.com/sbooth/mpc-binary-xcframework
Fetching https://github.com/sbooth/vorbis-binary-xcframework
Fetching https://github.com/sbooth/tta-cpp-binary-xcframework
Fetching https://github.com/sbooth/CSpeex
Fetching https://github.com/sbooth/lame-binary-xcframework
[1/19] Fetching tta-cpp-binary-xcframework
[3/42] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework
[34/65] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, sndfile-binary-xcframework
Fetched https://github.com/sbooth/sndfile-binary-xcframework from cache (0.75s)
[42/74] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, mpg123-binary-xcframework
[50/93] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, mpg123-binary-xcframework, lame-binary-xcframework
Fetching https://github.com/sbooth/opus-binary-xcframework
[93/124] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, mpg123-binary-xcframework, lame-binary-xcframework, mpc-binary-xcframework
[102/282] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, mpg123-binary-xcframework, lame-binary-xcframework, mpc-binary-xcframework, cspeex
Fetched https://github.com/sbooth/mpg123-binary-xcframework from cache (0.79s)
Fetching https://github.com/sbooth/flac-binary-xcframework
[150/250] Fetching tta-cpp-binary-xcframework, vorbis-binary-xcframework, lame-binary-xcframework, mpc-binary-xcframework, cspeex
Fetched https://github.com/sbooth/lame-binary-xcframework from cache (0.98s)
Fetched https://github.com/sbooth/mpc-binary-xcframework from cache (0.98s)
Fetched https://github.com/sbooth/vorbis-binary-xcframework from cache (0.99s)
Fetched https://github.com/sbooth/CSpeex from cache (0.99s)
Fetched https://github.com/sbooth/tta-cpp-binary-xcframework from cache (0.99s)
Fetching https://github.com/sbooth/wavpack-binary-xcframework
Fetching https://github.com/sbooth/CXXMonkeysAudio
Fetching https://github.com/sbooth/CXXTagLib
Fetching https://github.com/sbooth/ogg-binary-xcframework
Fetching https://github.com/sbooth/CDUMB
[1/33] Fetching opus-binary-xcframework
Fetched https://github.com/sbooth/opus-binary-xcframework from cache (0.69s)
Fetching https://github.com/sbooth/CXXUnfairLock
[1/32] Fetching flac-binary-xcframework
Fetched https://github.com/sbooth/flac-binary-xcframework from cache (0.69s)
Fetching https://github.com/sbooth/CXXRingBuffer
[1/24] Fetching wavpack-binary-xcframework
[25/467] Fetching wavpack-binary-xcframework, cxxtaglib
Fetched https://github.com/sbooth/wavpack-binary-xcframework from cache (0.64s)
[15/929] Fetching cxxtaglib, cxxmonkeysaudio
[35/1076] Fetching cxxtaglib, cxxmonkeysaudio, cdumb
Fetching https://github.com/sbooth/CXXDispatchSemaphore
[141/1099] Fetching cxxtaglib, cxxmonkeysaudio, cdumb, ogg-binary-xcframework
Fetched https://github.com/sbooth/CDUMB from cache (0.82s)
Fetched https://github.com/sbooth/CXXMonkeysAudio from cache (0.84s)
Fetching https://github.com/sbooth/AVFAudioExtensions
Fetching https://github.com/sbooth/CXXAudioRingBuffer
[218/466] Fetching cxxtaglib, ogg-binary-xcframework
Fetched https://github.com/sbooth/CXXTagLib from cache (0.99s)
Fetched https://github.com/sbooth/ogg-binary-xcframework from cache (0.99s)
[1/691] Fetching cxxunfairlock
[188/3172] Fetching cxxunfairlock, cxxringbuffer
Fetched https://github.com/sbooth/CXXUnfairLock from cache (0.80s)
[646/2481] Fetching cxxringbuffer
[1646/3227] Fetching cxxringbuffer, cxxdispatchsemaphore
Fetched https://github.com/sbooth/CXXRingBuffer from cache (0.91s)
[247/746] Fetching cxxdispatchsemaphore
[747/809] Fetching cxxdispatchsemaphore, cxxaudioringbuffer
[807/1408] Fetching cxxdispatchsemaphore, cxxaudioringbuffer, avfaudioextensions
Fetched https://github.com/sbooth/CXXDispatchSemaphore from cache (0.89s)
[177/662] Fetching cxxaudioringbuffer, avfaudioextensions
Fetched https://github.com/sbooth/CXXAudioRingBuffer from cache (0.87s)
Fetched https://github.com/sbooth/AVFAudioExtensions from cache (0.87s)
Computing version for https://github.com/sbooth/tta-cpp-binary-xcframework
Computed https://github.com/sbooth/tta-cpp-binary-xcframework at 0.1.2 (3.42s)
Computing version for https://github.com/sbooth/sndfile-binary-xcframework
Computed https://github.com/sbooth/sndfile-binary-xcframework at 0.1.2 (0.59s)
Computing version for https://github.com/sbooth/mpg123-binary-xcframework
Computed https://github.com/sbooth/mpg123-binary-xcframework at 0.3.1 (0.60s)
Computing version for https://github.com/sbooth/mpc-binary-xcframework
Computed https://github.com/sbooth/mpc-binary-xcframework at 0.1.2 (0.61s)
Computing version for https://github.com/sbooth/lame-binary-xcframework
Computed https://github.com/sbooth/lame-binary-xcframework at 0.1.2 (0.60s)
Computing version for https://github.com/sbooth/CSpeex
Computed https://github.com/sbooth/CSpeex at 1.2.1 (0.59s)
Computing version for https://github.com/sbooth/vorbis-binary-xcframework
Computed https://github.com/sbooth/vorbis-binary-xcframework at 0.1.2 (0.60s)
Computing version for https://github.com/sbooth/opus-binary-xcframework
Computed https://github.com/sbooth/opus-binary-xcframework at 0.3.0 (0.54s)
Computing version for https://github.com/sbooth/flac-binary-xcframework
Computed https://github.com/sbooth/flac-binary-xcframework at 0.2.0 (0.54s)
Computing version for https://github.com/sbooth/ogg-binary-xcframework
Computed https://github.com/sbooth/ogg-binary-xcframework at 0.1.3 (0.56s)
Computing version for https://github.com/sbooth/wavpack-binary-xcframework
Computed https://github.com/sbooth/wavpack-binary-xcframework at 0.2.0 (0.61s)
Computing version for https://github.com/sbooth/CXXTagLib
Computed https://github.com/sbooth/CXXTagLib at 2.1.1 (0.56s)
Computing version for https://github.com/sbooth/CXXMonkeysAudio
Computed https://github.com/sbooth/CXXMonkeysAudio at 12.13.0 (0.55s)
Computing version for https://github.com/sbooth/CDUMB
Computed https://github.com/sbooth/CDUMB at 2.0.3 (0.56s)
Computing version for https://github.com/sbooth/CXXUnfairLock
Computed https://github.com/sbooth/CXXUnfairLock at 0.3.0 (0.48s)
Computing version for https://github.com/sbooth/CXXRingBuffer
Computed https://github.com/sbooth/CXXRingBuffer at 0.6.0 (0.47s)
Computing version for https://github.com/sbooth/CXXDispatchSemaphore
Computed https://github.com/sbooth/CXXDispatchSemaphore at 0.4.0 (0.48s)
Computing version for https://github.com/sbooth/CXXAudioRingBuffer
Computed https://github.com/sbooth/CXXAudioRingBuffer at 0.1.0 (0.48s)
Computing version for https://github.com/sbooth/AVFAudioExtensions
Computed https://github.com/sbooth/AVFAudioExtensions at 0.5.0 (0.58s)
Creating working copy for https://github.com/sbooth/CSpeex
Working copy of https://github.com/sbooth/CSpeex resolved at 1.2.1
Creating working copy for https://github.com/sbooth/opus-binary-xcframework
Working copy of https://github.com/sbooth/opus-binary-xcframework resolved at 0.3.0
Creating working copy for https://github.com/sbooth/CXXMonkeysAudio
Working copy of https://github.com/sbooth/CXXMonkeysAudio resolved at 12.13.0
Creating working copy for https://github.com/sbooth/CDUMB
Working copy of https://github.com/sbooth/CDUMB resolved at 2.0.3
Creating working copy for https://github.com/sbooth/lame-binary-xcframework
Working copy of https://github.com/sbooth/lame-binary-xcframework resolved at 0.1.2
Creating working copy for https://github.com/sbooth/tta-cpp-binary-xcframework
Working copy of https://github.com/sbooth/tta-cpp-binary-xcframework resolved at 0.1.2
Creating working copy for https://github.com/sbooth/CXXAudioRingBuffer
Working copy of https://github.com/sbooth/CXXAudioRingBuffer resolved at 0.1.0
Creating working copy for https://github.com/sbooth/CXXRingBuffer
Working copy of https://github.com/sbooth/CXXRingBuffer resolved at 0.6.0
Creating working copy for https://github.com/sbooth/AVFAudioExtensions
Working copy of https://github.com/sbooth/AVFAudioExtensions resolved at 0.5.0
Creating working copy for https://github.com/sbooth/CXXTagLib
Working copy of https://github.com/sbooth/CXXTagLib resolved at 2.1.1
Creating working copy for https://github.com/sbooth/wavpack-binary-xcframework
Working copy of https://github.com/sbooth/wavpack-binary-xcframework resolved at 0.2.0
Creating working copy for https://github.com/sbooth/mpg123-binary-xcframework
Working copy of https://github.com/sbooth/mpg123-binary-xcframework resolved at 0.3.1
Creating working copy for https://github.com/sbooth/vorbis-binary-xcframework
Working copy of https://github.com/sbooth/vorbis-binary-xcframework resolved at 0.1.2
Creating working copy for https://github.com/sbooth/mpc-binary-xcframework
Working copy of https://github.com/sbooth/mpc-binary-xcframework resolved at 0.1.2
Creating working copy for https://github.com/sbooth/ogg-binary-xcframework
Working copy of https://github.com/sbooth/ogg-binary-xcframework resolved at 0.1.3
Creating working copy for https://github.com/sbooth/flac-binary-xcframework
Working copy of https://github.com/sbooth/flac-binary-xcframework resolved at 0.2.0
Creating working copy for https://github.com/sbooth/sndfile-binary-xcframework
Working copy of https://github.com/sbooth/sndfile-binary-xcframework resolved at 0.1.2
Creating working copy for https://github.com/sbooth/CXXDispatchSemaphore
Working copy of https://github.com/sbooth/CXXDispatchSemaphore resolved at 0.4.0
Creating working copy for https://github.com/sbooth/CXXUnfairLock
Working copy of https://github.com/sbooth/CXXUnfairLock resolved at 0.3.0
Downloading binary artifact https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip
Downloading binary artifact https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip
Downloading binary artifact https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip
Downloading binary artifact https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip
Downloading binary artifact https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip
Downloading binary artifact https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip
Downloading binary artifact https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip
Downloading binary artifact https://github.com/sbooth/vorbis-binary-xcframework/releases/download/0.1.2/vorbis.xcframework.zip
Downloading binary artifact https://github.com/sbooth/flac-binary-xcframework/releases/download/0.2.0/FLAC.xcframework.zip
Downloading binary artifact https://github.com/sbooth/opus-binary-xcframework/releases/download/0.3.0/opus.xcframework.zip
[16375/1962746] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip
[1978302/2581493] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip
[2027454/3030606] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip
[3046160/7964044] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip
[3373009/11616956] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip
[3650708/17634937] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip, https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip
[3715385/24632484] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip, https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip, https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip
[24648859/28554902] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip, https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip, https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip, https://github.com/sbooth/flac-binary-xcframework/releases/download/0.2.0/FLAC.xcframework.zip
[24960128/33630144] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip, https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip, https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip, https://github.com/sbooth/flac-binary-xcframework/releases/download/0.2.0/FLAC.xcframework.zip, https://github.com/sbooth/vorbis-binary-xcframework/releases/download/0.1.2/vorbis.xcframework.zip
[26636696/43077944] Downloading https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip, https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip, https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip, https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip, https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip, https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip, https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip, https://github.com/sbooth/flac-binary-xcframework/releases/download/0.2.0/FLAC.xcframework.zip, https://github.com/sbooth/vorbis-binary-xcframework/releases/download/0.1.2/vorbis.xcframework.zip, https://github.com/sbooth/opus-binary-xcframework/releases/download/0.3.0/opus.xcframework.zip
Downloaded https://github.com/sbooth/tta-cpp-binary-xcframework/releases/download/0.1.2/tta-cpp.xcframework.zip (0.71s)
Downloaded https://github.com/sbooth/ogg-binary-xcframework/releases/download/0.1.3/ogg.xcframework.zip (0.71s)
Downloaded https://github.com/sbooth/mpc-binary-xcframework/releases/download/0.1.2/mpc.xcframework.zip (0.73s)
Downloaded https://github.com/sbooth/wavpack-binary-xcframework/releases/download/0.2.0/wavpack.xcframework.zip (0.90s)
Downloaded https://github.com/sbooth/mpg123-binary-xcframework/releases/download/0.3.1/mpg123.xcframework.zip (1.00s)
Downloaded https://github.com/sbooth/lame-binary-xcframework/releases/download/0.1.2/lame.xcframework.zip (1.03s)
Downloaded https://github.com/sbooth/flac-binary-xcframework/releases/download/0.2.0/FLAC.xcframework.zip (1.06s)
Downloaded https://github.com/sbooth/vorbis-binary-xcframework/releases/download/0.1.2/vorbis.xcframework.zip (1.09s)
Downloaded https://github.com/sbooth/sndfile-binary-xcframework/releases/download/0.1.2/sndfile.xcframework.zip (1.09s)
Downloaded https://github.com/sbooth/opus-binary-xcframework/releases/download/0.3.0/opus.xcframework.zip (1.18s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/88] Compiling SFBLocalizedNameForURL.m
[1/88] Compiling NSFileHandle+SFBHeaderReading.m
[2/88] Compiling NSData+SFBExtensions.m
[3/88] Compiling SFBErrorWithLocalizedDescription.m
[4/88] Compiling SFBMutableDataOutputTarget.m
[4/88] Compiling SFBFileOutputTarget.m
[6/88] Compiling SFBASBDFormatDescription.m
[7/88] Compiling SFBOutputTarget.m
[8/88] Write swift-version-2F0A5646E1D333AE.txt
[9/88] Compiling SFBACLDescription.m
[10/88] Compiling SFBBufferOutputTarget.m
[11/88] Compiling SFBLibsndfileUtilities.m
[12/88] Compiling SFBAudioEngineTypes.m
[13/88] Compiling SFBWavPackFile.mm
[14/88] Compiling SFBWAVEFile.mm
[14/88] Compiling SFBShortenFile.mm
[14/88] Compiling SFBScreamTracker3ModuleFile.mm
[14/88] Compiling SFBTrueAudioFile.mm
[18/88] Compiling SFBProTrackerModuleFile.mm
[19/88] Compiling SFBOggVorbisFile.mm
[20/88] Compiling SFBOggSpeexFile.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:70:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
70 | std::jthread decodingThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:75:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
75 | std::jthread eventThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/SFBAudioPlayer+Internal.h:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:245:31: error: no type named 'stop_token' in namespace 'std'
245 | void processDecoders(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:280:40: error: no type named 'stop_token' in namespace 'std'
280 | void sequenceAndProcessEvents(std::stop_token stoken) noexcept;
| ~~~~~^
4 errors generated.
[21/88] Compiling SFBAudioPlayer.mm
[21/88] Compiling SFBFLACFile.mm
[21/88] Compiling SFBMP3File.mm
[21/88] Compiling SFBImpulseTrackerModuleFile.mm
[21/88] Compiling SFBMusepackFile.mm
[21/88] Compiling SFBMonkeysAudioFile.mm
[21/88] Compiling SFBOggFLACFile.mm
[21/88] Compiling SFBMP4File.mm
[21/88] Compiling SFBOggOpusFile.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:70:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
70 | std::jthread decodingThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:75:10: error: no type named 'jthread' in namespace 'std'; did you mean 'thread'?
75 | std::jthread eventThread_;
| ~~~~~^~~~~~~
| thread
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__thread/thread.h:150:33: note: 'thread' declared here
150 | class _LIBCPP_EXPORTED_FROM_ABI thread {
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:245:31: error: no type named 'stop_token' in namespace 'std'
245 | void processDecoders(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.h:280:40: error: no type named 'stop_token' in namespace 'std'
280 | void sequenceAndProcessEvents(std::stop_token stoken) noexcept;
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:488:32: error: no member named 'jthread' in namespace 'std'
488 | decodingThread_ = std::jthread(std::bind_front(&sfb::AudioPlayer::processDecoders, this));
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:489:29: error: no member named 'jthread' in namespace 'std'
489 | eventThread_ = std::jthread(std::bind_front(&sfb::AudioPlayer::sequenceAndProcessEvents, this));
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:23: error: expected ';' after expression
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ^
| ;
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:10: error: no member named 'stop_callback' in namespace 'std'
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:550:67: error: no member named 'get_stop_token' in 'std::thread'
550 | std::stop_callback decodingThreadStopCallback(decodingThread_.get_stop_token(),
| ~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:554:21: error: no member named 'request_stop' in 'std::thread'
554 | decodingThread_.request_stop();
| ~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:23: error: expected ';' after expression
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ^
| ;
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:10: error: no member named 'stop_callback' in namespace 'std'
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ~~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:562:61: error: no member named 'get_stop_token' in 'std::thread'
562 | std::stop_callback eventThreadStopCallback(eventThread_.get_stop_token(), [this] { eventSemaphore_.signal(); });
| ~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:565:18: error: no member named 'request_stop' in 'std::thread'
565 | eventThread_.request_stop();
| ~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:56: error: use of undeclared identifier 'stoken'; did you mean 'strlen'?
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^~~~~~
| strlen
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_string.h:96:9: note: 'strlen' declared here
96 | size_t strlen(const char *__s);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:24: error: variable has incomplete type 'void'
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:56: error: expected ')'
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:39: note: to match this '('
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:40: error: no member named 'stop_token' in namespace 'std'; did you mean 'typeToken'?
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^~~~~~~~~~~~~~~
| typeToken
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AEObjects.h:99:3: note: 'typeToken' declared here
99 | typeToken = 'toke', /* 0x746f6b65 */
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSFBAudioEngine/Player/AudioPlayer.mm:1128:63: error: expected ';' after top level declarator
1128 | void sfb::AudioPlayer::processDecoders(std::stop_token stoken) noexcept {
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[21/88] Compiling AudioPlayer.mm
BUILD FAILURE 6.1 macosSpm