Build Information
Failed to build SwiftCBOR, reference master (0b01ca), with Swift 6.3 for Wasm on 14 Apr 2026 14:31:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/MasterJ93/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.40s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Emitting module InternalCollectionsUtilities
[13/31] Compiling InternalCollectionsUtilities Debugging.swift
[14/31] Compiling InternalCollectionsUtilities Descriptions.swift
[15/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[21/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[23/31] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[24/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[25/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[27/31] Compiling InternalCollectionsUtilities Integer rank.swift
[28/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[29/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/31] Compiling InternalCollectionsUtilities String+Padding.swift
[31/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/327] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[34/327] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[35/327] Compiling _RopeModule BigString+Chunk+Splitting.swift
[36/327] Compiling _RopeModule BigString+Chunk+UTF16.swift
[37/327] Compiling _RopeModule BigString+Chunk+UTF8.swift
[38/327] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[39/331] Compiling _RopeModule BigString+Builder.swift
[40/331] Compiling _RopeModule BigString+Contents.swift
[41/331] Compiling _RopeModule BigString+Debugging.swift
[42/331] Compiling _RopeModule BigString+Index.swift
[43/331] Compiling _RopeModule BigString+Ingester.swift
[44/331] Compiling _RopeModule BigString+Invariants.swift
[45/331] Compiling _RopeModule BigString+Metrics.swift
[46/331] Compiling _RopeModule BigString+Summary.swift
[47/331] Compiling _RopeModule BigString.swift
[48/331] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[49/331] Compiling _RopeModule BigString+CustomStringConvertible.swift
[50/331] Compiling _RopeModule BigString+Equatable.swift
[51/331] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[52/331] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[53/331] Compiling _RopeModule BigString+Chunk.swift
[54/331] Compiling _RopeModule BigString+BidirectionalCollection.swift
[55/331] Compiling _RopeModule BigString+Comparable.swift
[56/331] Compiling _RopeModule BigString+Hashing.swift
[57/331] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[58/331] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[59/331] Compiling _RopeModule BigString+Sequence.swift
[60/331] Compiling _RopeModule BigString+TextOutputStream.swift
[61/331] Compiling ContainersPreview Box.swift
[62/331] Compiling ContainersPreview Inout.swift
[63/331] Compiling ContainersPreview InputSpan.swift
[64/331] Compiling ContainersPreview Shared.swift
[65/331] Emitting module ContainersPreview
[66/331] Compiling _RopeModule BigString+Chunk+Breaks.swift
[67/331] Compiling _RopeModule BigString+Chunk+Character.swift
[68/331] Compiling _RopeModule BigString+Chunk+Counts.swift
[69/331] Compiling _RopeModule BigString+Chunk+Description.swift
[70/331] Compiling _RopeModule BigString+Chunk+Index.swift
[71/332] Compiling HeapModule _HeapNode.swift
[73/332] Compiling HeapModule Heap.swift
[74/372] Compiling HeapModule Heap+UnsafeHandle.swift
[75/372] Compiling HeapModule Heap+Invariants.swift
[76/372] Compiling HeapModule Heap+Descriptions.swift
[77/372] Emitting module HeapModule
[79/373] Compiling _RopeModule Rope+Builder.swift
[80/373] Compiling _RopeModule Rope+Debugging.swift
[81/373] Compiling _RopeModule Rope+Invariants.swift
[82/373] Compiling _RopeModule _RopeVersion.swift
[83/373] Compiling _RopeModule Rope+Collection.swift
[84/373] Compiling _RopeModule Rope+Index.swift
[85/373] Compiling _RopeModule Rope+Sequence.swift
[86/380] Compiling _RopeModule BigString+UTF16View.swift
[87/380] Compiling _RopeModule BigString+UTF8View.swift
[88/380] Compiling _RopeModule BigString+UnicodeScalarView.swift
[89/380] Compiling _RopeModule BigSubstring+UTF16View.swift
[90/380] Compiling _RopeModule BigSubstring+UTF8View.swift
[91/380] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[92/380] Compiling _RopeModule BigSubstring.swift
[93/380] Compiling DequeModule RigidDeque+Removals.swift
[94/380] Compiling DequeModule RigidDeque+Replacements.swift
[95/380] Compiling DequeModule RigidDeque+Testing.swift
[96/380] Compiling DequeModule RigidDeque.swift
[97/380] Compiling DequeModule UniqueDeque+Append.swift
[98/380] Compiling DequeModule UniqueDeque+Hashable.swift
[99/380] Compiling DequeModule UniqueDeque+Initializers.swift
[100/380] Compiling DequeModule UniqueDeque+Insertions.swift
[101/380] Compiling DequeModule UniqueDeque+Prepend.swift
[102/380] Compiling DequeModule UniqueDeque+Removals.swift
[103/380] Compiling DequeModule UniqueDeque+Consumption.swift
[104/380] Compiling DequeModule UniqueDeque+Container.swift
[105/380] Compiling DequeModule UniqueDeque+Descriptions.swift
[106/380] Compiling DequeModule UniqueDeque+Equatable.swift
[107/380] Compiling DequeModule UniqueDeque+Experimental.swift
[108/387] Emitting module BitCollections
[109/387] Compiling DequeModule _DequeBuffer.swift
[110/387] Compiling DequeModule _DequeBufferHeader.swift
[111/387] Compiling DequeModule RigidDeque+Append.swift
[112/387] Compiling DequeModule RigidDeque+Consumption.swift
[113/387] Compiling DequeModule RigidDeque+Container.swift
[114/387] Compiling DequeModule RigidDeque+Descriptions.swift
[115/387] Compiling _RopeModule Range+BigString.swift
[132/392] Compiling DequeModule RigidDeque+Hashable.swift
[133/392] Compiling DequeModule RigidDeque+Initializers.swift
[134/392] Compiling DequeModule RigidDeque+Insertions.swift
[135/392] Compiling DequeModule RigidDeque+Prepend.swift
[136/392] Compiling DequeModule Deque+Extras.swift
[137/392] Compiling DequeModule Deque+Hashable.swift
[138/392] Compiling DequeModule Deque+Testing.swift
[139/392] Compiling DequeModule Deque._Storage.swift
[140/392] Compiling DequeModule Deque._UnsafeHandle.swift
[141/392] Compiling DequeModule Deque.swift
[163/392] Compiling DequeModule UniqueDeque+Replacements.swift
[164/392] Compiling DequeModule RigidDeque+Equatable.swift
[165/392] Compiling DequeModule RigidDeque+Experimental.swift
[170/392] Compiling _RopeModule RopeElement.swift
[171/392] Compiling _RopeModule RopeMetric.swift
[172/392] Compiling _RopeModule RopeSummary.swift
[173/392] Compiling _RopeModule _RopeItem.swift
[174/392] Compiling _RopeModule _RopePath.swift
[175/392] Compiling HashTreeCollections TreeDictionary+Keys.swift
[176/392] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[177/392] Compiling HashTreeCollections TreeDictionary+Merge.swift
[178/392] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[179/392] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[180/392] Compiling HashTreeCollections TreeDictionary+Values.swift
[203/411] Compiling _RopeModule String Utilities.swift
[204/411] Compiling _RopeModule String.Index+ABI.swift
[205/411] Compiling _RopeModule _CharacterRecognizer.swift
[206/411] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[207/411] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[208/411] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[209/411] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[210/411] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[211/411] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[212/411] Compiling HashTreeCollections TreeSet.swift
[213/411] Compiling DequeModule Deque+Codable.swift
[214/411] Compiling DequeModule Deque+Collection.swift
[215/411] Compiling DequeModule Deque+CustomReflectable.swift
[216/411] Compiling DequeModule Deque+Descriptions.swift
[217/411] Compiling DequeModule Deque+Equatable.swift
[218/411] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[257/411] Compiling BitCollections BitSet.Index.swift
[258/411] Compiling BitCollections BitSet._UnsafeHandle.swift
[259/411] Compiling BitCollections BitSet.swift
[260/411] Compiling BitCollections Range+Utilities.swift
[261/411] Compiling BitCollections Slice+Utilities.swift
[262/411] Compiling BitCollections UInt+Tricks.swift
[263/411] Compiling BitCollections _Word.swift
[280/412] Compiling OrderedCollections _UnsafeBitset.swift
[283/412] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[284/412] Compiling _RopeModule Rope+_UnsafeHandle.swift
[285/412] Compiling _RopeModule Rope.swift
[302/412] Emitting module OrderedCollections
[325/413] Emitting module _RopeModule
[333/413] Compiling DequeModule UniqueDeque.swift
[334/413] Compiling DequeModule _DequeSlot.swift
[335/413] Compiling DequeModule _UnsafeDequeHandle.swift
[336/413] Compiling DequeModule _UnsafeDequeSegments.swift
[398/413] Emitting module HashTreeCollections
[399/414] Compiling _RopeModule Rope+Join.swift
[400/414] Compiling _RopeModule Rope+MutatingForEach.swift
[401/414] Compiling _RopeModule Rope+Remove.swift
[402/414] Compiling _RopeModule Rope+RemoveSubrange.swift
[403/414] Compiling _RopeModule Rope+Split.swift
[404/414] Compiling _RopeModule Optional Utilities.swift
[410/415] Emitting module DequeModule
[417/422] Compiling Collections BitCollections reexports.swift
[418/422] Emitting module Collections
[419/422] Compiling Collections DequeModule reexports.swift
[420/422] Compiling Collections HeapModule reexports.swift
[421/422] Compiling Collections HashTreeCollections reexports.swift
[422/422] Compiling Collections OrderedCollections reexports.swift
[424/439] Compiling SwiftCBOR CBORInputStream.swift
[425/439] Compiling SwiftCBOR CBOROptions.swift
[426/441] 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 |
[427/441] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[428/441] Compiling SwiftCBOR Util.swift
[429/441] 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 |
[430/441] 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 |
[431/441] Compiling SwiftCBOR CodableCBORDecoder.swift
[432/441] Compiling SwiftCBOR KeyedDecodingContainer.swift
[433/441] Compiling SwiftCBOR CodableCBOREncoder.swift
[434/441] Compiling SwiftCBOR KeyedEncodingContainer.swift
[435/441] 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 {
[436/441] 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 {
[437/441] Compiling SwiftCBOR AnyCodingKey.swift
[438/441] Compiling SwiftCBOR CBOR.swift
[439/441] Compiling SwiftCBOR CBORDecoder.swift
[440/441] 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 |
[441/441] 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 |
BUILD FAILURE 6.3 wasm