Build Information
Failed to build SpeziLLM, reference 0.8.4 (6633d8
), with Swift 5.10 for Linux on 15 Oct 2024 16:26:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziLLM.git
Reference: 0.8.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/StanfordSpezi/SpeziLLM
* tag 0.8.4 -> FETCH_HEAD
HEAD is now at 6633d8a Allow Dependencies to Use Spezi Foundation 2.0 (#70)
Cloned https://github.com/StanfordSpezi/SpeziLLM.git
Revision (git rev-parse @):
6633d8a78eece57d18a9876197e5806c01516343
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziLLM.git at 0.8.4
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziLLM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/StanfordSpezi/SpeziViews
Fetching https://github.com/StanfordSpezi/SpeziOnboarding
Fetching https://github.com/StanfordSpezi/SpeziStorage
Fetching https://github.com/StanfordSpezi/SpeziFoundation
Fetching https://github.com/StanfordSpezi/Spezi
Fetching https://github.com/StanfordSpezi/SpeziChat
[1/2406] Fetching spezionboarding
[1084/4723] Fetching spezionboarding, speziviews
[1248/5183] Fetching spezionboarding, speziviews, spezifoundation
[1414/14057] Fetching spezionboarding, speziviews, spezifoundation, spezi
[1725/15021] Fetching spezionboarding, speziviews, spezifoundation, spezi, spezichat
[3396/15749] Fetching spezionboarding, speziviews, spezifoundation, spezi, spezichat, spezistorage
Fetched https://github.com/StanfordSpezi/SpeziFoundation from cache (0.35s)
Fetching https://github.com/StanfordBDHG/llama.cpp
Fetched https://github.com/StanfordSpezi/SpeziChat from cache (0.35s)
Fetching https://github.com/StanfordBDHG/OpenAI
Fetched https://github.com/StanfordSpezi/SpeziStorage from cache (0.43s)
Fetched https://github.com/StanfordSpezi/SpeziOnboarding from cache (0.43s)
Fetched https://github.com/StanfordSpezi/Spezi from cache (0.44s)
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.44s)
[1/2299] Fetching openai
Fetched https://github.com/StanfordBDHG/OpenAI from cache (0.26s)
[1/16834] Fetching llama.cpp
Fetched https://github.com/StanfordBDHG/llama.cpp from cache (4.29s)
Computing version for https://github.com/StanfordSpezi/SpeziChat
Computed https://github.com/StanfordSpezi/SpeziChat at 0.2.1 (0.37s)
Fetching https://github.com/StanfordSpezi/SpeziSpeech
[1/439] Fetching spezispeech
Fetched https://github.com/StanfordSpezi/SpeziSpeech from cache (0.22s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation
Computed https://github.com/StanfordSpezi/SpeziFoundation at 2.0.0-beta.3 (1.16s)
Computing version for https://github.com/StanfordBDHG/llama.cpp
Computed https://github.com/StanfordBDHG/llama.cpp at 0.3.3 (0.37s)
Computing version for https://github.com/StanfordBDHG/OpenAI
Computed https://github.com/StanfordBDHG/OpenAI at 0.2.9 (0.45s)
Computing version for https://github.com/StanfordSpezi/SpeziSpeech
Computed https://github.com/StanfordSpezi/SpeziSpeech at 1.2.0 (0.56s)
Computing version for https://github.com/StanfordSpezi/SpeziOnboarding
Computed https://github.com/StanfordSpezi/SpeziOnboarding at 1.2.2 (0.53s)
Fetching https://github.com/apple/swift-collections.git
[1/15445] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.15s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.6.0 (0.56s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage
Computed https://github.com/StanfordSpezi/SpeziStorage at 1.2.0 (0.54s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions
[1/374] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache (0.21s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.7.4 (0.53s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.1.3 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.64s)
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.7.4
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.6.0
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage
Working copy of https://github.com/StanfordSpezi/SpeziStorage resolved at 1.2.0
Creating working copy for https://github.com/StanfordBDHG/OpenAI
Working copy of https://github.com/StanfordBDHG/OpenAI resolved at 0.2.9
Creating working copy for https://github.com/StanfordBDHG/llama.cpp
Working copy of https://github.com/StanfordBDHG/llama.cpp resolved at 0.3.3
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziOnboarding
Working copy of https://github.com/StanfordSpezi/SpeziOnboarding resolved at 1.2.2
Creating working copy for https://github.com/StanfordSpezi/SpeziSpeech
Working copy of https://github.com/StanfordSpezi/SpeziSpeech resolved at 1.2.0
Creating working copy for https://github.com/StanfordSpezi/SpeziChat
Working copy of https://github.com/StanfordSpezi/SpeziChat resolved at 0.2.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation
Working copy of https://github.com/StanfordSpezi/SpeziFoundation resolved at 2.0.0-beta.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeziLLMOpenAI/Resources/Localizable.xcstrings
/host/spi-builder-workspace/Sources/SpeziLLMOpenAI/Resources/Localizable.xcstrings.license
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeziLLMLocalDownload/Resources/Localizable.xcstrings.license
/host/spi-builder-workspace/Sources/SpeziLLMLocalDownload/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeziLLMLocal/Resources/Localizable.xcstrings.license
/host/spi-builder-workspace/Sources/SpeziLLMLocal/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeziLLMFog/Resources/Localizable.xcstrings.license
/host/spi-builder-workspace/Sources/SpeziLLMFog/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SpeziLLM/Resources/Localizable.xcstrings
/host/spi-builder-workspace/Sources/SpeziLLM/Resources/Localizable.xcstrings.license
Building for debugging...
[0/22] Write sources
[0/22] Copying Localizable.xcstrings.license
[0/22] Copying Info.plist
[0/22] Copying Localizable.xcstrings
[1/22] Write sources
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/103] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/105] Emitting module SpeziFoundation
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:54:1: error: type 'JSONDecoder' does not conform to protocol 'TopLevelDecoder'
extension JSONDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:57:1: error: type 'PropertyListDecoder' does not conform to protocol 'TopLevelDecoder'
extension PropertyListDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:44:1: error: type 'JSONEncoder' does not conform to protocol 'TopLevelEncoder'
extension JSONEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:47:1: error: type 'PropertyListEncoder' does not conform to protocol 'TopLevelEncoder'
extension PropertyListEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/107] Emitting module OpenAI
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
[26/112] Compiling OpenAI AudioTranslationQuery.swift
[27/112] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/112] Emitting module XCTRuntimeAssertions
[29/113] Compiling XCTRuntimeAssertions Assert.swift
[31/113] Compiling SpeziFoundation SharedRepository.swift
[32/113] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[33/113] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[34/113] Compiling OpenAI APIError.swift
[35/113] Compiling OpenAI AudioSpeechQuery.swift
[36/113] Compiling OpenAI MultipartFormDataEntry.swift
[37/113] Compiling OpenAI MultipartFormDataRequest.swift
[38/113] Compiling OpenAI StreamingSession.swift
[39/113] Compiling OpenAI OpenAI.swift
[40/113] Compiling OpenAI JSONRequest.swift
[41/113] Compiling OpenAI URLRequestBuildable.swift
[42/113] Compiling OpenAI URLSessionDataTaskProtocol.swift
[43/113] Compiling OpenAI URLSessionProtocol.swift
[44/113] Compiling OpenAI AudioTranscriptionResult.swift
[46/113] Compiling OpenAI AudioSpeechResult.swift
[47/113] Compiling OpenAI AudioTranscriptionQuery.swift
[49/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[50/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[51/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[52/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[53/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[54/169] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/169] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[57/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[58/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[59/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[60/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[61/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[62/169] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[63/176] Compiling OrderedCollections OrderedDictionary.swift
[64/176] Compiling OrderedCollections OrderedSet+Codable.swift
[65/176] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[66/176] Compiling OrderedCollections OrderedSet+Descriptions.swift
[67/176] Compiling OrderedCollections OrderedSet+Diffing.swift
[68/176] Compiling OrderedCollections OrderedSet+Equatable.swift
[69/176] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[70/176] Compiling OrderedCollections OrderedSet+Hashable.swift
[71/176] Compiling OrderedCollections OrderedSet+Initializers.swift
[72/176] Compiling OrderedCollections OrderedSet+Insertions.swift
[73/176] Compiling OrderedCollections OrderedSet+Invariants.swift
[74/176] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[75/176] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[76/176] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[77/176] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[78/176] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[79/176] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[80/176] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[81/176] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[82/176] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[83/176] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[84/176] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[85/176] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[86/176] Compiling OrderedCollections OrderedDictionary+Values.swift
[87/176] Compiling OrderedCollections OrderedDictionary+Codable.swift
[88/176] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[89/176] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[90/176] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[91/176] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[92/176] Compiling OrderedCollections OrderedDictionary+Elements.swift
[93/176] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[94/176] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
[100/176] Compiling OrderedCollections _HashTable.swift
[101/176] Compiling OrderedCollections _Hashtable+Header.swift
[104/176] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:175:44: error: value of type 'NSLock' has no member 'withLock'
let first: SuspendedTask? = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:179:24: error: 'nil' requires a contextual type
return nil
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:197:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:216:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
[105/176] Compiling OrderedCollections _HashTable+Testing.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:175:44: error: value of type 'NSLock' has no member 'withLock'
let first: SuspendedTask? = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:179:24: error: 'nil' requires a contextual type
return nil
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:197:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:216:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
[106/176] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:175:44: error: value of type 'NSLock' has no member 'withLock'
let first: SuspendedTask? = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:179:24: error: 'nil' requires a contextual type
return nil
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:197:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:216:28: error: value of type 'NSLock' has no member 'withLock'
let tasks = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Semaphore/AsyncSemaphore.swift:146:31: error: value of type 'NSLock' has no member 'withLock'
let task = nsLock.withLock {
~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF8View)
^
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
public init?(_ codeUnits: Substring.UTF16View)
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
~^~~~~
[112/176] Compiling OrderedCollections _HashTable+Bucket.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:54:1: error: type 'JSONDecoder' does not conform to protocol 'TopLevelDecoder'
extension JSONDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:57:1: error: type 'PropertyListDecoder' does not conform to protocol 'TopLevelDecoder'
extension PropertyListDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:44:1: error: type 'JSONEncoder' does not conform to protocol 'TopLevelEncoder'
extension JSONEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:47:1: error: type 'PropertyListEncoder' does not conform to protocol 'TopLevelEncoder'
extension PropertyListEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
[113/176] Compiling OrderedCollections _HashTable+BucketIterator.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:54:1: error: type 'JSONDecoder' does not conform to protocol 'TopLevelDecoder'
extension JSONDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:57:1: error: type 'PropertyListDecoder' does not conform to protocol 'TopLevelDecoder'
extension PropertyListDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:44:1: error: type 'JSONEncoder' does not conform to protocol 'TopLevelEncoder'
extension JSONEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:47:1: error: type 'PropertyListEncoder' does not conform to protocol 'TopLevelEncoder'
extension PropertyListEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
[114/176] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:54:1: error: type 'JSONDecoder' does not conform to protocol 'TopLevelDecoder'
extension JSONDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:57:1: error: type 'PropertyListDecoder' does not conform to protocol 'TopLevelDecoder'
extension PropertyListDecoder: TopLevelDecoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:33:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T> (T.Type, from: Data, configuration: T.DecodingConfiguration) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelDecoder.swift:46:10: note: protocol requires function 'decode(_:from:configuration:)' with type '<T, C> (T.Type, from: Data, configuration: C.Type) throws -> T'; add a stub for conformance
func decode<T: DecodableWithConfiguration, C: DecodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:44:1: error: type 'JSONEncoder' does not conform to protocol 'TopLevelEncoder'
extension JSONEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:47:1: error: type 'PropertyListEncoder' does not conform to protocol 'TopLevelEncoder'
extension PropertyListEncoder: TopLevelEncoder {}
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:29:10: note: protocol requires function 'encode(_:configuration:)' with type '<T> (T, configuration: T.EncodingConfiguration) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration>(_ value: T, configuration: T.EncodingConfiguration) throws -> Output
^
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TopLevelEncoder.swift:37:10: note: protocol requires function 'encode(_:configuration:)' with type '<T, C> (T, configuration: C.Type) throws -> Self.Output'; add a stub for conformance
func encode<T: EncodableWithConfiguration, C: EncodingConfigurationProviding>(
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
[120/176] Compiling XCTRuntimeAssertions XCTRuntimeAssertionInjector.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimeAssertionInjector.swift:22:14: error: value of type 'NSLock' has no member 'withLock'
lock.withLock {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimeAssertionInjector.swift:30:14: error: value of type 'NSLock' has no member 'withLock'
lock.withLock {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/XCTRuntimeAssertions/XCTRuntimeAssertionInjector.swift:36:14: error: value of type 'NSLock' has no member 'withLock'
lock.withLock {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
[136/176] Compiling XCTRuntimeAssertions Counter.swift
[137/176] Compiling XCTRuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
/host/spi-builder-workspace/.build/checkouts/OpenAI/Sources/OpenAI/Private/StreamingSession.swift:12:8: error: no such module 'Security'
import Security
^
[155/176] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
[158/176] Compiling XCTRuntimeAssertions XCTFail.swift
[159/176] Compiling XCTRuntimeAssertions Precondition.swift
[160/176] Compiling XCTRuntimeAssertions XCTRuntimeAssertion.swift
error: fatalError
BUILD FAILURE 5.10 linux