Build Information
Failed to build SpeziMockWebService, reference 1.0.0 (b18067
), with Swift 6.0 for Linux on 30 Nov 2024 11:32:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMockWebService.git
Reference: 1.0.0
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/SpeziMockWebService
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at b18067d Upgrade to Spezi 1.0 and minor documentation upgrades (#15)
Cloned https://github.com/StanfordSpezi/SpeziMockWebService.git
Revision (git rev-parse @):
b18067d3499e630bbd995ef05a296ef8fdd42528
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMockWebService.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziMockWebService.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/StanfordSpezi/Spezi
Fetching https://github.com/StanfordSpezi/SpeziViews
[1/2485] Fetching speziviews
[822/11411] Fetching speziviews, spezi
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.47s)
Fetched https://github.com/StanfordSpezi/Spezi from cache (0.50s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.7.0 (2.55s)
Fetching https://github.com/apple/swift-collections.git
[1/15603] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.70s)
Computing version for https://github.com/StanfordSpezi/Spezi
Computed https://github.com/StanfordSpezi/Spezi at 1.8.0 (0.78s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/374] Fetching xctruntimeassertions
[375/834] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.39s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.41s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.0.0 (1.01s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.67s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (0.68s)
Creating working copy for https://github.com/StanfordSpezi/Spezi
Working copy of https://github.com/StanfordSpezi/Spezi resolved at 1.8.0
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
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.7.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.0.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: 'speziviews': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings
/host/spi-builder-workspace/.build/checkouts/SpeziViews/Sources/SpeziViews/Resources/Localizable.xcstrings.license
Building for debugging...
[0/16] Write sources
[0/16] Copying Localizable.xcstrings.license
[0/16] Copying Localizable.xcstrings
[0/16] Copying Info.plist
[0/16] Write sources
[0/16] Copying Info.plist
[0/16] Copying Localizable.xcstrings
[0/16] Copying Localizable.xcstrings.license
[0/16] Write sources
[14/16] Compiling _AtomicsShims.c
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/60] Compiling Atomics AtomicMemoryOrderings.swift
[18/60] Compiling Atomics DoubleWord.swift
[19/62] Emitting module XCTRuntimeAssertions
[20/62] Compiling XCTRuntimeAssertions Assert.swift
[21/63] Compiling Atomics UnsafeAtomic.swift
[22/63] Compiling Atomics UnsafeAtomicLazyReference.swift
[23/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/63] Compiling InternalCollectionsUtilities Specialize.swift
[25/63] Compiling Atomics AtomicReference.swift
[26/63] Compiling Atomics AtomicStorage.swift
[27/63] Compiling Atomics AtomicValue.swift
[28/63] Emitting module Atomics
[29/63] Compiling Atomics OptionalRawRepresentable.swift
[30/63] Compiling Atomics RawRepresentable.swift
[31/63] Compiling Atomics AtomicBool.swift
[32/63] Compiling Atomics IntegerConformances.swift
[33/63] Compiling Atomics PointerConformances.swift
[34/63] Compiling Atomics Primitives.native.swift
[35/63] Compiling Atomics Primitives.shims.swift
[36/63] Compiling Atomics AtomicInteger.swift
[37/63] Compiling Atomics AtomicOptionalWrappable.swift
[46/65] Emitting module InternalCollectionsUtilities
[55/65] Compiling Atomics IntegerOperations.swift
[56/65] Compiling Atomics Unmanaged extensions.swift
[58/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[62/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[63/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[64/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[65/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[66/144] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[67/144] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[68/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[69/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[70/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[71/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[72/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[73/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[74/144] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[75/151] Compiling OrderedCollections OrderedDictionary.swift
[76/151] Compiling OrderedCollections OrderedSet+Codable.swift
[77/151] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[78/151] Compiling OrderedCollections OrderedSet+Descriptions.swift
[79/151] Compiling OrderedCollections OrderedSet+Diffing.swift
[80/151] Compiling OrderedCollections OrderedSet+Equatable.swift
[81/151] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[82/151] Compiling OrderedCollections OrderedSet+Hashable.swift
[83/151] Compiling OrderedCollections OrderedSet+Initializers.swift
[84/151] Compiling OrderedCollections OrderedSet+Insertions.swift
[85/151] Compiling OrderedCollections OrderedSet+Invariants.swift
[86/151] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[87/151] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[88/151] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[89/151] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[90/151] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[91/151] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[92/151] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[93/151] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[94/151] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[95/151] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[96/151] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[97/151] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[98/151] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/151] Compiling OrderedCollections OrderedDictionary+Codable.swift
[100/151] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[101/151] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[102/151] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[103/151] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[104/151] Compiling OrderedCollections OrderedDictionary+Elements.swift
[105/151] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[106/151] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[113/153] Compiling XCTRuntimeAssertions XCTRuntimeAssertionInjector.swift
[114/153] Compiling XCTRuntimeAssertions XCTRuntimePrecondition.swift
[115/153] Compiling OrderedCollections _HashTable+Bucket.swift
[116/153] Compiling OrderedCollections _HashTable+BucketIterator.swift
[117/153] Compiling OrderedCollections _HashTable+Constants.swift
[118/153] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[119/153] Compiling OrderedCollections _HashTable+Testing.swift
[120/153] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[121/153] Compiling OrderedCollections _HashTable.swift
[122/153] Compiling OrderedCollections _Hashtable+Header.swift
[123/153] Compiling XCTRuntimeAssertions NeverReturn.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/153] Emitting module SpeziFoundation
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
13 | /// A reference type holding an atomic value, with automatic memory management.
14 | @_fixed_layout
15 | public class ManagedAtomic<Value: AtomicValue>
| |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
| `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
16 | where Value.AtomicRepresentation.Value == Value {
17 | // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
[125/153] Compiling XCTRuntimeAssertions XCTRuntimeAssertion.swift
[126/153] Compiling XCTRuntimeAssertions XCTFail.swift
[127/153] Compiling XCTRuntimeAssertions Counter.swift
[128/153] Compiling XCTRuntimeAssertions Precondition.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
13 | /// A reference type holding an atomic value, with automatic memory management.
14 | @_fixed_layout
15 | public class ManagedAtomic<Value: AtomicValue>
| |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
| `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
16 | where Value.AtomicRepresentation.Value == Value {
17 | // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
31 | let selfThread = pthread_self()
32 |
33 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
34 | pthread_equal(writer, selfThread) != 0 {
35 | // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
41 | pthreadWriteLock()
42 |
43 | writerThread.store(selfThread, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
44 | writerCount = 1
45 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: 'nil' requires a contextual type
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
62 | let selfThread = pthread_self()
63 |
64 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
65 | pthread_equal(writer, selfThread) != 0 {
66 | // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
13 | /// A reference type holding an atomic value, with automatic memory management.
14 | @_fixed_layout
15 | public class ManagedAtomic<Value: AtomicValue>
| |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
| `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
16 | where Value.AtomicRepresentation.Value == Value {
17 | // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
31 | let selfThread = pthread_self()
32 |
33 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
34 | pthread_equal(writer, selfThread) != 0 {
35 | // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
41 | pthreadWriteLock()
42 |
43 | writerThread.store(selfThread, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
44 | writerCount = 1
45 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: 'nil' requires a contextual type
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
62 | let selfThread = pthread_self()
63 |
64 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
65 | pthread_equal(writer, selfThread) != 0 {
66 | // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: type 'pthread_t' (aka 'UInt') does not conform to protocol 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:20:32: error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
18 | let rwLock: UnsafeMutablePointer<pthread_rwlock_t>
19 |
20 | private let writerThread = ManagedAtomic<pthread_t?>(nil)
| `- error: 'ManagedAtomic' requires that 'pthread_t' (aka 'UInt') conform to 'AtomicOptionalWrappable'
21 | private var writerCount = 0
22 | private var readerCount = 0
/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/Atomics/Types/ManagedAtomic.swift:15:14: note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
13 | /// A reference type holding an atomic value, with automatic memory management.
14 | @_fixed_layout
15 | public class ManagedAtomic<Value: AtomicValue>
| |- note: requirement specified as 'pthread_t' (aka 'UInt') : 'AtomicOptionalWrappable'
| `- note: requirement from conditional conformance of 'pthread_t?' (aka 'Optional<UInt>') to 'AtomicValue'
16 | where Value.AtomicRepresentation.Value == Value {
17 | // Note: the Value.AtomicRepresentation.Value == Value requirement could be relaxed,
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:33:54: error: cannot infer contextual base in reference to member 'relaxed'
31 | let selfThread = pthread_self()
32 |
33 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
34 | pthread_equal(writer, selfThread) != 0 {
35 | // we know that the writerThread is us, so access to `writerCount` is synchronized (its us that holds the rwLock).
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:43:51: error: cannot infer contextual base in reference to member 'relaxed'
41 | pthreadWriteLock()
42 |
43 | writerThread.store(selfThread, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
44 | writerCount = 1
45 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:28: error: 'nil' requires a contextual type
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: 'nil' requires a contextual type
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:55:44: error: cannot infer contextual base in reference to member 'relaxed'
53 |
54 | // otherwise it is the last unlock
55 | writerThread.store(nil, ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
56 | writerCount = 0
57 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Concurrency/RecursiveRWLock.swift:64:54: error: cannot infer contextual base in reference to member 'relaxed'
62 | let selfThread = pthread_self()
63 |
64 | if let writer = writerThread.load(ordering: .relaxed),
| `- error: cannot infer contextual base in reference to member 'relaxed'
65 | pthread_equal(writer, selfThread) != 0 {
66 | // we know that the writerThread is us, so access to `readerCount` is synchronized (its us that holds the rwLock).
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[136/154] Compiling SpeziFoundation SharedRepository.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[137/154] Compiling SpeziFoundation resource_bundle_accessor.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[138/154] Compiling OrderedCollections OrderedSet+Sendable.swift
[139/154] Compiling OrderedCollections OrderedSet+SubSequence.swift
[140/154] Compiling OrderedCollections OrderedSet+Testing.swift
[141/154] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[142/154] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[143/154] Compiling OrderedCollections OrderedSet.swift
[144/154] Compiling OrderedCollections _UnsafeBitset.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
22 | }
23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
26 | }
27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
26 | }
27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
26 | }
27 | }
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
22 | }
23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
26 | }
27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
26 | }
27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
26 | }
27 | }
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:27: error: cannot find 'LocalizedStringResource' in scope
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:9: error: no exact matches in call to initializer
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
22 | }
23 |
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:21:71: error: cannot infer contextual base in reference to member 'atURL'
19 | extension TimeoutError: LocalizedError {
20 | public var errorDescription: String? {
21 | String(localized: LocalizedStringResource("Timeout", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
22 | }
23 |
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:27: error: cannot find 'LocalizedStringResource' in scope
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot find 'LocalizedStringResource' in scope
26 | }
27 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:9: error: no exact matches in call to initializer
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: no exact matches in call to initializer
26 | }
27 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init?(_ codeUnits: Substring.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundation/Misc/TimeoutError.swift:25:88: error: cannot infer contextual base in reference to member 'atURL'
23 |
24 | public var failureReason: String? {
25 | String(localized: LocalizedStringResource("The operation timed out.", bundle: .atURL(Bundle.module.bundleURL)))
| `- error: cannot infer contextual base in reference to member 'atURL'
26 | }
27 | }
BUILD FAILURE 6.0 linux