Build Information
Successful build of SwiftCBOR, reference 0.4.0 (0b01ca
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 01:20:38 UTC.
Swift 6 data race errors: 17
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MasterJ93/SwiftCBOR.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MasterJ93/SwiftCBOR
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 0b01caa Switch to Apple's version of swift-collections
Cloned https://github.com/MasterJ93/SwiftCBOR.git
Revision (git rev-parse @):
0b01caa633889f6d64f73f1c01607358d36fe6e6
SUCCESS checkout https://github.com/MasterJ93/SwiftCBOR.git at 0.4.0
Fetching https://github.com/apple/swift-collections
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.97s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (3.88s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftcbor",
"name": "SwiftCBOR",
"url": "https://github.com/MasterJ93/SwiftCBOR.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCBOR",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/MasterJ93/SwiftCBOR.git
[1/1070] Fetching swiftcbor
Fetched https://github.com/MasterJ93/SwiftCBOR.git from cache (0.88s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
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/MasterJ93/SwiftCBOR.git
Working copy of https://github.com/MasterJ93/SwiftCBOR.git resolved at 0.4.0 (0b01caa)
warning: '.resolve-product-dependencies': dependency 'swiftcbor' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/MasterJ93/SwiftCBOR.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version--7754E27361AE5C74.txt
[11/28] Compiling _CollectionsUtilities _SortedCollection.swift
[12/28] Compiling _CollectionsUtilities _UniqueCollection.swift
[13/28] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/28] Compiling _CollectionsUtilities Debugging.swift
[15/28] Compiling _CollectionsUtilities Descriptions.swift
[16/29] Compiling _CollectionsUtilities UInt+reversed.swift
[17/29] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[18/29] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[19/29] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[20/29] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[21/29] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[22/29] Compiling _CollectionsUtilities Integer rank.swift
[23/29] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[24/29] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[25/29] Compiling _CollectionsUtilities Specialize.swift
[26/29] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/29] Emitting module _CollectionsUtilities
[28/29] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[29/29] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[30/312] Compiling DequeModule _DequeSlot.swift
[31/312] Compiling DequeModule _DequeBufferHeader.swift
[32/313] Compiling HashTreeCollections _Hash.swift
[33/313] Compiling HashTreeCollections _HashLevel.swift
[34/313] Compiling HeapModule _HeapNode.swift
[35/313] Compiling HeapModule Heap.swift
[36/313] Compiling HeapModule Heap+UnsafeHandle.swift
[37/313] Compiling HeapModule Heap+Invariants.swift
[38/313] Compiling HeapModule Heap+Descriptions.swift
[39/313] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[40/313] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[41/313] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[42/313] Compiling HashTreeCollections TreeDictionary+Values.swift
[43/313] Compiling HashTreeCollections TreeDictionary.swift
[44/313] Compiling HashTreeCollections TreeSet+Codable.swift
[45/313] Compiling HashTreeCollections TreeSet+Collection.swift
[46/313] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[47/313] Compiling HashTreeCollections TreeSet+Debugging.swift
[48/313] Compiling HashTreeCollections TreeSet+Descriptions.swift
[49/313] Compiling HashTreeCollections _RawHashNode.swift
[50/313] Compiling HashTreeCollections _UnmanagedHashNode.swift
[51/313] Compiling HashTreeCollections _UnsafePath.swift
[52/319] Compiling HashTreeCollections _HashNode+Lookups.swift
[53/319] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[54/319] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[55/319] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[56/319] Compiling HashTreeCollections _HashNode+Storage.swift
[57/319] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[58/324] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/324] Emitting module HeapModule
[66/324] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[67/324] Compiling HashTreeCollections TreeDictionary+Filter.swift
[68/324] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[69/324] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[70/324] Compiling HashTreeCollections TreeDictionary+Keys.swift
[71/324] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[72/324] Compiling HashTreeCollections TreeDictionary+Merge.swift
[73/324] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[75/332] Compiling HashTreeCollections _HashNode+Builder.swift
[76/332] Compiling HashTreeCollections _HashNode+Debugging.swift
[77/332] Compiling HashTreeCollections _HashNode+Initializers.swift
[78/332] Compiling HashTreeCollections _HashNode+Invariants.swift
[79/332] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[80/332] Compiling HashTreeCollections TreeSet+Equatable.swift
[81/332] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[82/332] Compiling HashTreeCollections TreeSet+Extras.swift
[83/332] Compiling HashTreeCollections TreeSet+Filter.swift
[84/332] Compiling HashTreeCollections TreeSet+Hashable.swift
[85/332] Compiling HashTreeCollections TreeSet+Sendable.swift
[86/332] Compiling HashTreeCollections TreeSet+Sequence.swift
[87/332] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[88/332] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[89/332] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[90/332] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[91/332] Compiling BitCollections BitSet.swift
[92/332] Compiling HashTreeCollections _HashNode+Structural filter.swift
[93/332] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[94/332] Compiling HashTreeCollections _Bitmap.swift
[95/332] Compiling HashTreeCollections _Bucket.swift
[96/332] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[97/332] Compiling HashTreeCollections _AncestorHashSlots.swift
[111/332] Compiling BitCollections Range+Utilities.swift
[112/332] Compiling BitCollections Slice+Utilities.swift
[113/332] Compiling BitCollections UInt+Tricks.swift
[114/332] Compiling BitCollections _Word.swift
[116/332] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[117/332] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[118/332] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[119/332] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[120/332] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[127/332] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[133/332] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[160/339] Emitting module BitCollections
[162/339] Compiling HashTreeCollections TreeDictionary+Codable.swift
[163/339] Compiling HashTreeCollections TreeDictionary+Collection.swift
[164/339] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[165/339] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[166/339] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[179/339] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[180/339] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[181/339] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[182/339] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[183/339] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[184/339] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[185/339] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[186/339] Compiling HashTreeCollections TreeSet.swift
[206/339] Compiling OrderedCollections OrderedSet.swift
[207/339] Compiling OrderedCollections _UnsafeBitset.swift
[208/339] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[228/339] Compiling HashTreeCollections _HashNode.swift
[229/339] Compiling HashTreeCollections _HashNodeHeader.swift
[230/339] Compiling HashTreeCollections _HashSlot.swift
[231/339] Compiling HashTreeCollections _HashStack.swift
[232/339] Compiling HashTreeCollections _HashTreeIterator.swift
[233/339] Compiling HashTreeCollections _HashTreeStatistics.swift
[234/339] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[235/339] Emitting module DequeModule
[301/339] Compiling _RopeModule Rope+Remove.swift
[302/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[303/339] Compiling _RopeModule Rope+Split.swift
[304/339] Compiling _RopeModule Optional Utilities.swift
[305/339] Compiling _RopeModule String Utilities.swift
[306/339] Compiling _RopeModule String.Index+ABI.swift
[307/339] Compiling _RopeModule _CharacterRecognizer.swift
[330/339] Emitting module OrderedCollections
[338/339] Emitting module _RopeModule
[339/339] Emitting module HashTreeCollections
[340/341] Emitting module Collections
[341/341] Compiling Collections Collections.swift
[342/358] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[343/358] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[344/358] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[345/358] Compiling SwiftCBOR CodableCBOREncoder.swift
[346/359] Compiling SwiftCBOR KeyedDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
232 | }
233 |
234 | func decode(_ type: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
235 | guard let cbor = try? CBOR.decode(self.data.map { $0 }) else {
236 | let context = DecodingError.Context(codingPath: self.codingPath, debugDescription: "Invalid format: \(self.data)")
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
[347/359] Compiling SwiftCBOR SingleValueDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
232 | }
233 |
234 | func decode(_ type: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
235 | guard let cbor = try? CBOR.decode(self.data.map { $0 }) else {
236 | let context = DecodingError.Context(codingPath: self.codingPath, debugDescription: "Invalid format: \(self.data)")
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
[348/359] Compiling SwiftCBOR AnyCodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:150:23: warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
148 |
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
| |- warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardDateTimeString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:151:23: warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochBasedDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:152:23: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:153:23: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:154:23: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:155:23: warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
| |- warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bigfloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:159:23: warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
157 | // 6...20 unassigned
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
| |- warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64URLEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:160:23: warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
| |- warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:161:23: warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
| |- warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase16Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:162:23: warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
| |- warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodedCBORDataItem' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:166:23: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
164 | // 25...31 unassigned
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:167:23: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:168:23: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:169:23: warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
| |- warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regularExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:170:23: warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
| |- warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mimeMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:171:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:175:23: warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
173 | // 38...55798 unassigned
174 |
175 | public static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
| |- warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selfDescribeCBOR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
[349/359] Compiling SwiftCBOR CBOR.swift
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:150:23: warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
148 |
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
| |- warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardDateTimeString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:151:23: warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochBasedDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:152:23: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:153:23: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:154:23: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:155:23: warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
| |- warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bigfloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:159:23: warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
157 | // 6...20 unassigned
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
| |- warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64URLEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:160:23: warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
| |- warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:161:23: warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
| |- warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase16Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:162:23: warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
| |- warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodedCBORDataItem' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:166:23: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
164 | // 25...31 unassigned
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:167:23: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:168:23: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:169:23: warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
| |- warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regularExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:170:23: warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
| |- warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mimeMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:171:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:175:23: warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
173 | // 38...55798 unassigned
174 |
175 | public static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
| |- warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selfDescribeCBOR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
[350/359] Compiling SwiftCBOR CBOROptions.swift
[351/359] Compiling SwiftCBOR CodableCBORDecoder.swift
[352/359] Compiling SwiftCBOR CBORDecoder.swift
[353/359] Compiling SwiftCBOR CBOREncodable.swift
[354/359] Compiling SwiftCBOR CBOREncoder.swift
[355/359] Compiling SwiftCBOR CBORInputStream.swift
[356/359] Compiling SwiftCBOR KeyedEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
132 | }
133 |
134 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
135 | try checkCanEncode(value: value)
136 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
139 | }
140 |
141 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
142 | try checkCanEncode(value: value)
143 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:21:19: note: requirement 'encode' declared here
19 | mutating func encode(_ value: UInt64) throws
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | mutating func encode(_ value: UInt128) throws
| `- note: requirement 'encode' declared here
22 | mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[357/359] Compiling SwiftCBOR SingleValueEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
132 | }
133 |
134 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
135 | try checkCanEncode(value: value)
136 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
139 | }
140 |
141 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
142 | try checkCanEncode(value: value)
143 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:21:19: note: requirement 'encode' declared here
19 | mutating func encode(_ value: UInt64) throws
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | mutating func encode(_ value: UInt128) throws
| `- note: requirement 'encode' declared here
22 | mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[358/359] Emitting module SwiftCBOR
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:150:23: warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
148 |
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
| |- warning: static property 'standardDateTimeString' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardDateTimeString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:151:23: warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
149 | extension CBOR.Tag {
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochBasedDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochBasedDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:152:23: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
150 | public static let standardDateTimeString = CBOR.Tag(rawValue: 0)
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:153:23: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
151 | public static let epochBasedDateTime = CBOR.Tag(rawValue: 1)
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:154:23: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
152 | public static let positiveBignum = CBOR.Tag(rawValue: 2)
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:155:23: warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
153 | public static let negativeBignum = CBOR.Tag(rawValue: 3)
154 | public static let decimalFraction = CBOR.Tag(rawValue: 4)
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
| |- warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bigfloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:159:23: warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
157 | // 6...20 unassigned
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
| |- warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64URLEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:160:23: warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
158 |
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
| |- warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:161:23: warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
159 | public static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
| |- warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase16Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:162:23: warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
160 | public static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
161 | public static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
| |- warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodedCBORDataItem' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:166:23: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
164 | // 25...31 unassigned
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:167:23: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
165 |
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:168:23: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
166 | public static let uri = CBOR.Tag(rawValue: 32)
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:169:23: warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
167 | public static let base64Url = CBOR.Tag(rawValue: 33)
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
| |- warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regularExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:170:23: warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
168 | public static let base64 = CBOR.Tag(rawValue: 34)
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
| |- warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mimeMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:171:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
169 | public static let regularExpression = CBOR.Tag(rawValue: 35)
170 | public static let mimeMessage = CBOR.Tag(rawValue: 36)
171 | public static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/CBOR.swift:175:23: warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
137 | public let rawValue: UInt64
138 |
:
173 | // 38...55798 unassigned
174 |
175 | public static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
| |- warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selfDescribeCBOR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
/Users/admin/builder/spi-builder-workspace/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
232 | }
233 |
234 | func decode(_ type: Data.Type) throws -> Data {
| |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
| |- note: candidate has non-matching type '(Data.Type) throws -> Data'
| |- note: move 'decode' to another extension to silence this warning
| `- note: make 'decode' private to silence this warning
235 | guard let cbor = try? CBOR.decode(self.data.map { $0 }) else {
236 | let context = DecodingError.Context(codingPath: self.codingPath, debugDescription: "Invalid format: \(self.data)")
Swift.SingleValueDecodingContainer:14:10: note: requirement 'decode' declared here
12 | func decode(_ type: Int64.Type) throws -> Int64
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | func decode(_ type: Int128.Type) throws -> Int128
| `- note: requirement 'decode' declared here
15 | func decode(_ type: UInt.Type) throws -> UInt
16 | func decode(_ type: UInt8.Type) throws -> UInt8
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
132 | }
133 |
134 | func encode(_ value: Date) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Date) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
135 | try checkCanEncode(value: value)
136 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
139 | }
140 |
141 | func encode(_ value: Data) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(Data) throws -> ()'
| |- note: move 'encode' to another extension to silence this warning
| `- note: make 'encode' private to silence this warning
142 | try checkCanEncode(value: value)
143 | defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer:21:19: note: requirement 'encode' declared here
19 | mutating func encode(_ value: UInt64) throws
20 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
21 | mutating func encode(_ value: UInt128) throws
| `- note: requirement 'encode' declared here
22 | mutating func encode<T>(_ value: T) throws where T : Encodable
23 | }
[359/359] Compiling SwiftCBOR Util.swift
Build complete! (25.86s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "SwiftCBOR",
"name" : "SwiftCBOR",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwiftCBOR",
"targets" : [
"SwiftCBOR"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCBORTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCBORTests",
"path" : "Tests",
"sources" : [
"CBORCodableRoundtripTests.swift",
"CBORDecoderTests.swift",
"CBOREncodableTests.swift",
"CBOREncoderTests.swift",
"CBORTests.swift",
"CodableCBORDecoderTests.swift",
"CodableCBOREncoderTests.swift",
"Helpers.swift"
],
"target_dependencies" : [
"SwiftCBOR"
],
"type" : "test"
},
{
"c99name" : "SwiftCBOR",
"module_type" : "SwiftTarget",
"name" : "SwiftCBOR",
"path" : "Sources",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"SwiftCBOR"
],
"sources" : [
"AnyCodingKey.swift",
"CBOR.swift",
"CBORDecoder.swift",
"CBOREncodable.swift",
"CBOREncoder.swift",
"CBORInputStream.swift",
"CBOROptions.swift",
"Decoder/CodableCBORDecoder.swift",
"Decoder/KeyedDecodingContainer.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/UnkeyedDecodingContainer.swift",
"Encoder/CodableCBOREncoder.swift",
"Encoder/KeyedEncodingContainer.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/UnkeyedEncodingContainer.swift",
"FixedWidthInteger+Bytes.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.