Build Information
Failed to build SwiftCBOR, reference master (0b01ca
), with Swift 6.1 for Android on 29 May 2025 09:45:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MasterJ93/SwiftCBOR.git
Reference: master
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/MasterJ93/SwiftCBOR
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/MasterJ93/SwiftCBOR.git
https://github.com/MasterJ93/SwiftCBOR.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.76s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/24] Compiling InternalCollectionsUtilities Debugging.swift
[13/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/25] Compiling InternalCollectionsUtilities Integer rank.swift
[15/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/25] Compiling InternalCollectionsUtilities Descriptions.swift
[17/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/25] Emitting module InternalCollectionsUtilities
[22/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/300] Compiling BitCollections BitArray._UnsafeHandle.swift
[28/300] Compiling BitCollections BitArray.swift
[29/302] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[30/302] Compiling HeapModule Heap+Descriptions.swift
[31/302] Compiling HeapModule Heap.swift
[32/302] Compiling HeapModule _HeapNode.swift
[33/302] Compiling BitCollections BitArray+Hashable.swift
[34/302] Compiling BitCollections BitArray+Initializers.swift
[35/302] Compiling BitCollections BitArray+Invariants.swift
[36/302] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[37/302] Compiling BitCollections BitArray+Shifts.swift
[38/302] Compiling BitCollections BitArray+Testing.swift
[39/302] Compiling BitCollections BitArray+RandomBits.swift
[40/302] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[41/302] Compiling BitCollections BitArray+Extras.swift
[42/302] Compiling BitCollections BitArray+Fill.swift
[43/302] Emitting module HeapModule
[44/302] Compiling BitCollections BitSet+Invariants.swift
[45/302] Compiling BitCollections BitSet+Random.swift
[46/302] Compiling BitCollections BitSet+SetAlgebra basics.swift
[47/302] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[48/302] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[49/302] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[50/302] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[51/309] Compiling DequeModule _DequeSlot.swift
[52/309] Compiling DequeModule _UnsafeWrappedBuffer.swift
[53/309] Compiling HeapModule Heap+Invariants.swift
[54/309] Compiling HeapModule Heap+UnsafeHandle.swift
[55/310] Emitting module BitCollections
[56/317] Compiling BitCollections Range+Utilities.swift
[57/317] Compiling BitCollections Slice+Utilities.swift
[58/317] Compiling BitCollections UInt+Tricks.swift
[59/317] Compiling BitCollections _Word.swift
[60/317] Compiling OrderedCollections OrderedSet.swift
[61/317] Compiling OrderedCollections _UnsafeBitset.swift
[62/317] Compiling HashTreeCollections TreeSet+Equatable.swift
[63/317] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[64/317] Compiling HashTreeCollections TreeSet+Extras.swift
[65/317] Compiling HashTreeCollections TreeSet+Filter.swift
[66/317] Compiling HashTreeCollections TreeSet+Hashable.swift
[67/317] Compiling HashTreeCollections TreeSet+Sendable.swift
[68/317] Compiling HashTreeCollections TreeSet+Sequence.swift
[69/317] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[70/317] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[71/317] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[72/317] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[73/317] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[74/317] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[75/317] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[77/327] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[78/327] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[79/327] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[80/327] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[81/327] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[82/327] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[83/327] Compiling BitCollections BitSet+Initializers.swift
[84/327] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[85/327] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[94/336] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[95/336] Compiling BitCollections BitArray+Codable.swift
[96/336] Compiling BitCollections BitArray+Collection.swift
[97/336] Compiling BitCollections BitArray+Copy.swift
[98/336] Compiling BitCollections BitArray+CustomReflectable.swift
[99/336] Compiling BitCollections BitArray+Descriptions.swift
[100/336] Compiling BitCollections BitArray+Equatable.swift
[101/336] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[102/336] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[103/336] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[104/336] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[105/336] Compiling BitCollections BitSet+SetAlgebra union.swift
[106/336] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[107/336] Compiling BitCollections BitSet.Counted.swift
[108/336] Compiling BitCollections BitSet.Index.swift
[109/336] Compiling BitCollections BitSet._UnsafeHandle.swift
[112/336] Emitting module DequeModule
[113/337] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[114/337] Compiling BitCollections BitSet+CustomReflectable.swift
[115/337] Compiling BitCollections BitSet+CustomStringConvertible.swift
[116/337] Compiling BitCollections BitSet+Equatable.swift
[117/337] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[118/337] Compiling BitCollections BitSet+Extras.swift
[119/337] Compiling BitCollections BitSet+Hashable.swift
[147/337] Compiling BitCollections BitArray+BitwiseOperations.swift
[155/337] Compiling _RopeModule _CharacterRecognizer.swift
[156/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[157/337] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[158/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[159/337] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[160/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[161/337] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[162/337] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[163/337] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[164/337] Compiling HashTreeCollections TreeSet.swift
[229/337] Emitting module OrderedCollections
[230/337] Compiling BitCollections BitSet.swift
[278/339] Emitting module _RopeModule
[301/339] Compiling _RopeModule Rope+Join.swift
[302/339] Compiling _RopeModule Rope+MutatingForEach.swift
[303/339] Compiling _RopeModule Rope+Remove.swift
[304/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[305/339] Compiling _RopeModule Rope+Split.swift
[306/339] Compiling _RopeModule Optional Utilities.swift
[307/339] Compiling _RopeModule String Utilities.swift
[308/339] Compiling _RopeModule String.Index+ABI.swift
[310/339] Emitting module HashTreeCollections
[342/343] Compiling Collections Collections.swift
[343/343] Emitting module Collections
[345/360] Emitting module SwiftCBOR
/host/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: add '@MainActor' to make static property 'standardDateTimeString' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'epochBasedDateTime' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'positiveBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'negativeBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'decimalFraction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/host/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: add '@MainActor' to make static property 'bigfloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64URLEncoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64Encoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase16Encoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/host/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: add '@MainActor' to make static property 'encodedCBORDataItem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/host/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: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64Url' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'regularExpression' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'mimeMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/host/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: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/host/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: add '@MainActor' to make static property 'selfDescribeCBOR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[346/362] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[347/362] Compiling SwiftCBOR Util.swift
[348/362] Compiling SwiftCBOR AnyCodingKey.swift
/host/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: add '@MainActor' to make static property 'standardDateTimeString' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'epochBasedDateTime' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'positiveBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'negativeBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'decimalFraction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/host/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: add '@MainActor' to make static property 'bigfloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64URLEncoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64Encoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase16Encoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/host/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: add '@MainActor' to make static property 'encodedCBORDataItem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/host/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: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64Url' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'regularExpression' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'mimeMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/host/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: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/host/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: add '@MainActor' to make static property 'selfDescribeCBOR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
[349/362] Compiling SwiftCBOR CBOR.swift
/host/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: add '@MainActor' to make static property 'standardDateTimeString' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'epochBasedDateTime' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'positiveBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'negativeBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'decimalFraction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/host/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: add '@MainActor' to make static property 'bigfloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64URLEncoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64Encoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase16Encoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/host/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: add '@MainActor' to make static property 'encodedCBORDataItem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/host/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: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64Url' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'regularExpression' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'mimeMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/host/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: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/host/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: add '@MainActor' to make static property 'selfDescribeCBOR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
[350/362] Compiling SwiftCBOR CBORDecoder.swift
/host/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: add '@MainActor' to make static property 'standardDateTimeString' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'epochBasedDateTime' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'positiveBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'negativeBignum' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'decimalFraction' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bigfloat = CBOR.Tag(rawValue: 5)
156 |
/host/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: add '@MainActor' to make static property 'bigfloat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | // 6...20 unassigned
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64URLEncoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase64Encoding' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'expectedConversionToBase16Encoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
163 |
/host/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: add '@MainActor' to make static property 'encodedCBORDataItem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | // 25...31 unassigned
/host/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: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64Url' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'base64' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'regularExpression' part of global actor 'MainActor'
| `- 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)
/host/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: add '@MainActor' to make static property 'mimeMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let uuid = CBOR.Tag(rawValue: 37)
172 |
/host/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: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | // 38...55798 unassigned
/host/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: add '@MainActor' to make static property 'selfDescribeCBOR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
176 | }
177 |
[351/362] Compiling SwiftCBOR SingleValueDecodingContainer.swift
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
[352/362] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
[353/362] Compiling SwiftCBOR SingleValueEncodingContainer.swift
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[354/362] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[355/362] Compiling SwiftCBOR CodableCBORDecoder.swift
[356/362] Compiling SwiftCBOR KeyedDecodingContainer.swift
[357/362] Compiling SwiftCBOR CBOREncodable.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:268:53: error: cannot find 'NSEC_PER_SEC' in scope
266 |
267 | let seconds = Int64(integral)
268 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
269 |
270 | switch options.dateStrategy {
[358/362] Compiling SwiftCBOR CBOREncoder.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:268:53: error: cannot find 'NSEC_PER_SEC' in scope
266 |
267 | let seconds = Int64(integral)
268 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
269 |
270 | switch options.dateStrategy {
[359/362] Compiling SwiftCBOR CodableCBOREncoder.swift
[360/362] Compiling SwiftCBOR KeyedEncodingContainer.swift
[361/362] Compiling SwiftCBOR CBORInputStream.swift
[362/362] Compiling SwiftCBOR CBOROptions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/16] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[4/16] Compiling InternalCollectionsUtilities Debugging.swift
[5/16] Compiling InternalCollectionsUtilities Descriptions.swift
[6/16] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[7/16] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[8/16] Compiling InternalCollectionsUtilities Integer rank.swift
[9/16] Emitting module InternalCollectionsUtilities
[10/16] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/16] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[12/16] Compiling InternalCollectionsUtilities _SortedCollection.swift
[13/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[14/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[15/16] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/16] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/39] Compiling HeapModule Heap+Invariants.swift
[19/39] Compiling HeapModule Heap+Descriptions.swift
[20/39] Compiling DequeModule _DequeBuffer.swift
[21/39] Compiling DequeModule _DequeBufferHeader.swift
[22/284] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[23/293] Compiling HeapModule Heap+UnsafeHandle.swift
[24/293] Compiling HeapModule Heap.swift
[25/293] Compiling HeapModule _HeapNode.swift
[26/293] Emitting module HeapModule
[28/294] Compiling _RopeModule BigString+Chunk+Counts.swift
[29/294] Compiling _RopeModule BigString+Chunk+Description.swift
[30/294] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[31/294] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[32/294] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[33/294] Compiling _RopeModule BigString+Chunk+Splitting.swift
[34/294] Compiling _RopeModule BigString+Chunk.swift
[35/301] Compiling _RopeModule BigString+ReplaceSubrange.swift
[36/301] Compiling _RopeModule BigString+Split.swift
[40/301] Compiling _RopeModule BigString+BidirectionalCollection.swift
[41/301] Compiling _RopeModule BigString+Comparable.swift
[42/301] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[43/301] Compiling _RopeModule BigString+CustomStringConvertible.swift
[44/301] Compiling _RopeModule BigString+Equatable.swift
[45/301] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[46/301] Compiling _RopeModule BigString+Hashing.swift
[54/311] Compiling _RopeModule Rope+_Storage.swift
[55/311] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[56/311] Compiling _RopeModule Rope+_UnsafeHandle.swift
[57/311] Compiling _RopeModule Rope.swift
[58/311] Compiling _RopeModule RopeElement.swift
[59/311] Compiling _RopeModule RopeMetric.swift
[60/311] Compiling _RopeModule RopeSummary.swift
[61/311] Compiling _RopeModule _RopeItem.swift
[62/311] Compiling _RopeModule _RopePath.swift
[63/311] Compiling _RopeModule BigString+Append.swift
[70/311] Compiling _RopeModule BigString+Initializers.swift
[71/311] Compiling _RopeModule BigString+Insert.swift
[76/311] Compiling _RopeModule BigString+Managing Breaks.swift
[77/311] Compiling _RopeModule BigString+RemoveSubrange.swift
[80/311] Compiling _RopeModule Rope+Find.swift
[81/311] Compiling _RopeModule Rope+ForEachWhile.swift
[82/311] Compiling _RopeModule Rope+Insert.swift
[83/311] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[84/311] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[85/311] Compiling HashTreeCollections TreeDictionary+Keys.swift
[86/311] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[87/311] Compiling HashTreeCollections TreeDictionary+Merge.swift
[88/311] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[89/311] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[90/311] Compiling HashTreeCollections TreeDictionary+Values.swift
[91/311] Compiling OrderedCollections OrderedSet+Sendable.swift
[92/311] Compiling OrderedCollections OrderedSet+SubSequence.swift
[93/311] Compiling OrderedCollections OrderedSet+Testing.swift
[94/311] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[95/311] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[96/311] Compiling OrderedCollections OrderedSet.swift
[97/311] Compiling OrderedCollections _UnsafeBitset.swift
[98/311] Compiling _RopeModule Rope+Sequence.swift
[99/311] Compiling _RopeModule Rope+Append.swift
[100/311] Compiling _RopeModule Rope+Extract.swift
[101/311] Compiling _RopeModule Rope+Builder.swift
[102/311] Compiling _RopeModule Rope+Debugging.swift
[103/311] Compiling _RopeModule Rope+Invariants.swift
[104/311] Compiling _RopeModule Rope+_Node.swift
[105/311] Compiling _RopeModule BigString+Builder.swift
[106/311] Compiling _RopeModule BigString+Contents.swift
[107/311] Compiling _RopeModule BigString+Debugging.swift
[108/311] Compiling _RopeModule BigString+Index.swift
[109/311] Compiling _RopeModule BigString+Ingester.swift
[110/311] Compiling _RopeModule BigString+Invariants.swift
[111/311] Compiling _RopeModule BigString+Iterators.swift
[112/311] Compiling _RopeModule BigString+Metrics.swift
[113/311] Compiling _RopeModule BigString+Summary.swift
[114/311] Compiling _RopeModule BigString.swift
[115/311] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[116/311] Compiling _RopeModule BigString+Chunk+Breaks.swift
[120/311] Compiling _RopeModule Range+BigString.swift
[121/311] Compiling _RopeModule BigString+UTF16View.swift
[122/311] Compiling _RopeModule BigString+UTF8View.swift
[123/311] Compiling _RopeModule BigString+UnicodeScalarView.swift
[124/311] Compiling _RopeModule BigSubstring+UTF16View.swift
[125/311] Compiling _RopeModule BigSubstring+UTF8View.swift
[133/318] Emitting module BitCollections
[141/318] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[142/318] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[143/318] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[144/318] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[145/318] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[146/318] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[147/318] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[148/318] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[149/318] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[150/318] Compiling HashTreeCollections TreeSet.swift
[151/318] Emitting module DequeModule
[168/319] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[169/319] Compiling _RopeModule BigSubstring.swift
[184/319] Compiling BitCollections BitSet.swift
[185/319] Compiling BitCollections Range+Utilities.swift
[186/319] Compiling BitCollections Slice+Utilities.swift
[187/319] Compiling BitCollections UInt+Tricks.swift
[188/319] Compiling BitCollections _Word.swift
[229/328] Compiling BitCollections BitSet.Index.swift
[230/328] Compiling BitCollections BitSet._UnsafeHandle.swift
[270/329] Emitting module OrderedCollections
[272/330] Emitting module HashTreeCollections
[273/331] Emitting module _RopeModule
[275/331] Compiling _RopeModule Rope+Join.swift
[276/331] Compiling _RopeModule Rope+MutatingForEach.swift
[277/331] Compiling _RopeModule Rope+Remove.swift
[278/331] Compiling _RopeModule Rope+RemoveSubrange.swift
[279/331] Compiling _RopeModule Rope+Split.swift
[280/331] Compiling _RopeModule Optional Utilities.swift
[281/331] Compiling _RopeModule String Utilities.swift
[282/331] Compiling _RopeModule String.Index+ABI.swift
[283/331] Compiling _RopeModule _CharacterRecognizer.swift
[333/334] Compiling Collections Collections.swift
[334/334] Emitting module Collections
[336/351] Compiling SwiftCBOR CodableCBOREncoder.swift
[337/351] Compiling SwiftCBOR KeyedEncodingContainer.swift
[338/351] Compiling SwiftCBOR SingleValueEncodingContainer.swift
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[339/351] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[340/353] Compiling SwiftCBOR CBOREncodable.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:268:53: error: cannot find 'NSEC_PER_SEC' in scope
266 |
267 | let seconds = Int64(integral)
268 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
269 |
270 | switch options.dateStrategy {
[341/353] Compiling SwiftCBOR CBOREncoder.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:268:53: error: cannot find 'NSEC_PER_SEC' in scope
266 |
267 | let seconds = Int64(integral)
268 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
269 |
270 | switch options.dateStrategy {
[342/353] Compiling SwiftCBOR CodableCBORDecoder.swift
[343/353] Compiling SwiftCBOR KeyedDecodingContainer.swift
[344/353] Compiling SwiftCBOR CBORInputStream.swift
[345/353] Compiling SwiftCBOR CBOROptions.swift
[346/353] Compiling SwiftCBOR SingleValueDecodingContainer.swift
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
[347/353] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
[348/353] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[349/353] Compiling SwiftCBOR Util.swift
[350/353] Emitting module SwiftCBOR
/host/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.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: requirement 'decode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: Int128) throws}
| `- note: requirement 'encode' declared here
4 |
/host/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.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | mutating func encode(_ value: UInt128) throws}
| `- note: requirement 'encode' declared here
4 |
[351/353] Compiling SwiftCBOR AnyCodingKey.swift
[352/353] Compiling SwiftCBOR CBOR.swift
[353/353] Compiling SwiftCBOR CBORDecoder.swift
BUILD FAILURE 6.1 android