Build Information
Failed to build Cohere, reference main (6c7705), with Swift 6.2 for iOS using Xcode 26.3 on 21 Jun 2025 13:41:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Cohere -destination generic/platform=iOSBuild Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaxRS07/Cohere.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MaxRS07/Cohere
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6c77054 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/MaxRS07/Cohere.git
Revision (git rev-parse @):
6c77054fc3b6a3ba57dc18c513ab33520c375455
SUCCESS checkout https://github.com/MaxRS07/Cohere.git at main
========================================
Build
========================================
Selected platform: iOS
Swift version: 6.2
Building package at path: $PWD
https://github.com/MaxRS07/Cohere.git
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
Cohere: /Users/admin/builder/spi-builder-workspace
resolved source packages: Cohere
{
"dependencies" : [
],
"manifest_display_name" : "Cohere",
"name" : "Cohere",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cohere",
"targets" : [
"Cohere"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CohereTests",
"module_type" : "SwiftTarget",
"name" : "CohereTests",
"path" : "Tests/CohereTests",
"sources" : [
"APITests.swift"
],
"target_dependencies" : [
"Cohere"
],
"type" : "test"
},
{
"c99name" : "Cohere",
"module_type" : "SwiftTarget",
"name" : "Cohere",
"path" : "Sources/Cohere",
"product_memberships" : [
"Cohere"
],
"sources" : [
"Cohere.swift",
"Enums.swift",
"Structs.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Cohere"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Cohere -destination generic/platform=iOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Cohere -destination generic/platform=iOS
Resolve Package Graph
Resolved source packages:
Cohere: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Cohere' in project 'Cohere'
➜ Explicit dependency on target 'Cohere' in project 'Cohere'
Target 'Cohere' in project 'Cohere' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: be632b72fc9338556029dbf9cfa95cfd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/be632b72fc9338556029dbf9cfa95cfd.xcbuilddata
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftConstValuesFileList (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.DependencyStaticMetadataFileList (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftFileList (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.LinkFileList (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-OutputFileMap.json (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.DependencyMetadataFileList (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.modulemap (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/Cohere.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.modulemap (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Cohere.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
SwiftDriver Cohere normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Cohere -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -target arm64-apple-ios12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/ptrcheck-6FWRIXJQD5QRT88O82SYSLG08.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_stdarg-9VKHEL45GO0S9UFDNN13E0L1J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/SwiftShims-CBS67EYEN5VWGBB8OVQ8EUINJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_stddef-4FVR452VOSL178WGP8X8D0KNJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_float-3HTANMTZCP6Y9JNQ39FV59MRN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/ptrauth-KAXGLN8PC6ZXUDIXGFUI0P34.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_AvailabilityInternal-6FQ15SRU9D9A044YPILL0CXXX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_SwiftConcurrencyShims-EZ51YITGRGUNDHIOWBTBDX3HG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_stdbool-CXC27J8YUXK4G20ZP1M0E8MG3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_DarwinFoundation1-4RWDBESMZFX3KO83RWRWMFLI8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_limits-AJQDCBD0YWO0ZLC72RMWSWKZ9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_DarwinFoundation2-8YP91F7W9MGAILZQKSZI35L2I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_stdint-EYM3FL12NJ59LL2IBGYAY10L8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_DarwinFoundation3-4ETX325NXP3BU0VNYJERSG1VG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/_Builtin_inttypes-91RAPV12LSOIG9C27D473G2K3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Darwin-BFJPZN6CR5B4H4UOGESGS2YS4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/ObjectiveC-BR0ISXVR4NA7TUR9FO6ZN9BUX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/os_object-DOHLKNIW7LGJIBKLRH4VGIFZV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/os_workgroup-7RHAFQD18Z6AJZGMVSTXXMBCA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Dispatch-AHBR8CP1AD519ISL3E1UCJ16C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/XPC-6VOE3RHR5QPYA9TUEA3OEO0DS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/CoreFoundation-4IWW8YK6LXOSTJY4P6C2VVRVI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Security-C5WUIBSEU2CG1IFZQSODUOG9A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/CFNetwork-68WAU4OA82VV0C7HGEKHI9G17.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Foundation-49MC91NHVGD4Y6BRKL8ZQMQZD.pcm
SwiftCompile normal arm64 Compiling\ Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cohere (in target 'Cohere' from project 'Cohere')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift -target arm64-apple-ios12.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Cohere -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name iphoneos26.0 -clang-target arm64-apple-ios26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.abi.json
EmitSwiftModule normal arm64 (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:9:139: error: concurrency is only available in iOS 13.0.0 or newer
public func addMessage(message : String, model : CohereModel = .command, temperature : Double = 0.75, overridePreamble : String = "") async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:9:17: note: add @available attribute to enclosing instance method
public func addMessage(message : String, model : CohereModel = .command, temperature : Double = 0.75, overridePreamble : String = "") async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:29:98: error: concurrency is only available in iOS 13.0.0 or newer
public func classify(model : CohereModel = .command, inputs: [String], examples : [Example]) async -> Classification? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:29:17: note: add @available attribute to enclosing instance method
public func classify(model : CohereModel = .command, inputs: [String], examples : [Example]) async -> Classification? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:57:176: error: concurrency is only available in iOS 13.0.0 or newer
public func generate(prompt : String, model : CohereModel = .command, numGenerations : Int = 1, stream : Bool = false, maxTokens : Int = 999, temperature : Double = 0.75) async -> Generation? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:57:17: note: add @available attribute to enclosing instance method
public func generate(prompt : String, model : CohereModel = .command, numGenerations : Int = 1, stream : Bool = false, maxTokens : Int = 999, temperature : Double = 0.75) async -> Generation? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:86:116: error: concurrency is only available in iOS 13.0.0 or newer
public func embed(texts : [String], model : EmbedModel = .englishV2, inputType : InputType = .classificatinon) async -> Embedding? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:86:17: note: add @available attribute to enclosing instance method
public func embed(texts : [String], model : EmbedModel = .englishV2, inputType : InputType = .classificatinon) async -> Embedding? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:111:193: error: concurrency is only available in iOS 13.0.0 or newer
public func summarize(text: String, length : Length = .medium, format : Format = .auto, temperature: Double = 0.3, extractiveness : Extractiveness = .auto, model : CohereModel = .command) async -> Summarize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:111:17: note: add @available attribute to enclosing instance method
public func summarize(text: String, length : Length = .medium, format : Format = .auto, temperature: Double = 0.3, extractiveness : Extractiveness = .auto, model : CohereModel = .command) async -> Summarize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:136:188: error: concurrency is only available in iOS 13.0.0 or newer
public func chat(message: String, model : CohereModel = .command, overridePreable : String = "", stream : Bool = false, chatHistory : [ChatHistory] = [], temperature : Double = 0.75) async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:136:17: note: add @available attribute to enclosing instance method
public func chat(message: String, model : CohereModel = .command, overridePreable : String = "", stream : Bool = false, chatHistory : [ChatHistory] = [], temperature : Double = 0.75) async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:171:159: error: concurrency is only available in iOS 13.0.0 or newer
public func rerank(query : String, documents : [String], model : RerankModel = .english, topN : Int, maxChunks : Int = 10, returnDocuments : Bool = true) async -> Rerank? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:171:17: note: add @available attribute to enclosing instance method
public func rerank(query : String, documents : [String], model : RerankModel = .english, topN : Int, maxChunks : Int = 10, returnDocuments : Bool = true) async -> Rerank? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:199:95: error: concurrency is only available in iOS 13.0.0 or newer
private func MakeURLRequest<T : Codable>(request : NSMutableURLRequest, jsonDecoder : T.Type) async throws -> T? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:199:14: note: add @available attribute to enclosing global function
private func MakeURLRequest<T : Codable>(request : NSMutableURLRequest, jsonDecoder : T.Type) async throws -> T? {
^
SwiftCompile normal arm64 Compiling\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Cohere.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cohere (in target 'Cohere' from project 'Cohere')
EmitSwiftModule normal arm64 (in target 'Cohere' from project 'Cohere')
Building workspace spi-builder-workspace with scheme Cohere
(3 failures)
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
Cohere: /Users/admin/builder/spi-builder-workspace
resolved source packages: Cohere
{
"dependencies" : [
],
"manifest_display_name" : "Cohere",
"name" : "Cohere",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cohere",
"targets" : [
"Cohere"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CohereTests",
"module_type" : "SwiftTarget",
"name" : "CohereTests",
"path" : "Tests/CohereTests",
"sources" : [
"APITests.swift"
],
"target_dependencies" : [
"Cohere"
],
"type" : "test"
},
{
"c99name" : "Cohere",
"module_type" : "SwiftTarget",
"name" : "Cohere",
"path" : "Sources/Cohere",
"product_memberships" : [
"Cohere"
],
"sources" : [
"Cohere.swift",
"Enums.swift",
"Structs.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Cohere"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Cohere -destination generic/platform=iOS
Command line invocation:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Cohere -destination generic/platform=iOS
Resolve Package Graph
Resolved source packages:
Cohere: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Cohere' in project 'Cohere'
➜ Explicit dependency on target 'Cohere' in project 'Cohere'
Target 'Cohere' in project 'Cohere' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache
SwiftDriver Cohere normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Cohere -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -target arm64-apple-ios12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cohere (in target 'Cohere' from project 'Cohere')
EmitSwiftModule normal arm64 (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:9:139: error: concurrency is only available in iOS 13.0.0 or newer
public func addMessage(message : String, model : CohereModel = .command, temperature : Double = 0.75, overridePreamble : String = "") async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:9:17: note: add @available attribute to enclosing instance method
public func addMessage(message : String, model : CohereModel = .command, temperature : Double = 0.75, overridePreamble : String = "") async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:29:98: error: concurrency is only available in iOS 13.0.0 or newer
public func classify(model : CohereModel = .command, inputs: [String], examples : [Example]) async -> Classification? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:29:17: note: add @available attribute to enclosing instance method
public func classify(model : CohereModel = .command, inputs: [String], examples : [Example]) async -> Classification? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:57:176: error: concurrency is only available in iOS 13.0.0 or newer
public func generate(prompt : String, model : CohereModel = .command, numGenerations : Int = 1, stream : Bool = false, maxTokens : Int = 999, temperature : Double = 0.75) async -> Generation? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:57:17: note: add @available attribute to enclosing instance method
public func generate(prompt : String, model : CohereModel = .command, numGenerations : Int = 1, stream : Bool = false, maxTokens : Int = 999, temperature : Double = 0.75) async -> Generation? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:86:116: error: concurrency is only available in iOS 13.0.0 or newer
public func embed(texts : [String], model : EmbedModel = .englishV2, inputType : InputType = .classificatinon) async -> Embedding? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:86:17: note: add @available attribute to enclosing instance method
public func embed(texts : [String], model : EmbedModel = .englishV2, inputType : InputType = .classificatinon) async -> Embedding? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:111:193: error: concurrency is only available in iOS 13.0.0 or newer
public func summarize(text: String, length : Length = .medium, format : Format = .auto, temperature: Double = 0.3, extractiveness : Extractiveness = .auto, model : CohereModel = .command) async -> Summarize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:111:17: note: add @available attribute to enclosing instance method
public func summarize(text: String, length : Length = .medium, format : Format = .auto, temperature: Double = 0.3, extractiveness : Extractiveness = .auto, model : CohereModel = .command) async -> Summarize? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:136:188: error: concurrency is only available in iOS 13.0.0 or newer
public func chat(message: String, model : CohereModel = .command, overridePreable : String = "", stream : Bool = false, chatHistory : [ChatHistory] = [], temperature : Double = 0.75) async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:136:17: note: add @available attribute to enclosing instance method
public func chat(message: String, model : CohereModel = .command, overridePreable : String = "", stream : Bool = false, chatHistory : [ChatHistory] = [], temperature : Double = 0.75) async -> ChatRes? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:171:159: error: concurrency is only available in iOS 13.0.0 or newer
public func rerank(query : String, documents : [String], model : RerankModel = .english, topN : Int, maxChunks : Int = 10, returnDocuments : Bool = true) async -> Rerank? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:171:17: note: add @available attribute to enclosing instance method
public func rerank(query : String, documents : [String], model : RerankModel = .english, topN : Int, maxChunks : Int = 10, returnDocuments : Bool = true) async -> Rerank? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:4:14: note: add @available attribute to enclosing class
public class CohereClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:199:95: error: concurrency is only available in iOS 13.0.0 or newer
private func MakeURLRequest<T : Codable>(request : NSMutableURLRequest, jsonDecoder : T.Type) async throws -> T? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift:199:14: note: add @available attribute to enclosing global function
private func MakeURLRequest<T : Codable>(request : NSMutableURLRequest, jsonDecoder : T.Type) async throws -> T? {
^
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift -target arm64-apple-ios12.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos26.0-23A5260k-89c966b05cf48e6d712dffa532762295.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Cohere -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name iphoneos26.0 -clang-target arm64-apple-ios26.0 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Cohere.build/Debug-iphoneos/Cohere.build/Objects-normal/arm64/Cohere.abi.json
SwiftCompile normal arm64 Compiling\ Structs.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Structs.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Cohere.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Cohere.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Enums.swift /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift (in target 'Cohere' from project 'Cohere')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Cohere/Enums.swift (in target 'Cohere' from project 'Cohere')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
EmitSwiftModule normal arm64 (in target 'Cohere' from project 'Cohere')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Cohere (in target 'Cohere' from project 'Cohere')
Building workspace spi-builder-workspace with scheme Cohere
(3 failures)
BUILD FAILURE 6.2 iOS