Build Information
Failed to build SwiftCBOR, reference 0.4.0 (0b01ca), with Swift 6.3 for Wasm on 14 Apr 2026 14:31:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MasterJ93/SwiftCBOR
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 0b01caa Switch to Apple's version of swift-collections
Cloned https://github.com/MasterJ93/SwiftCBOR.git
Revision (git rev-parse @):
0b01caa633889f6d64f73f1c01607358d36fe6e6
SUCCESS checkout https://github.com/MasterJ93/SwiftCBOR.git at 0.4.0
========================================
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-4606859-3":/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 (2.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (4.03s)
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 UnsafeMutableRawBufferPointer+Extras.swift
[14/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/31] Compiling InternalCollectionsUtilities Debugging.swift
[16/31] Compiling InternalCollectionsUtilities Descriptions.swift
[17/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.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 String+Padding.swift
[24/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[27/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[28/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/31] Compiling InternalCollectionsUtilities Integer rank.swift
[30/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/145] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[34/173] Compiling _RopeModule BigString+Chunk.swift
[35/173] Compiling _RopeModule BigString+BidirectionalCollection.swift
[36/173] Compiling _RopeModule BigString+Comparable.swift
[37/173] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[38/173] Compiling _RopeModule BigString+CustomStringConvertible.swift
[39/182] Compiling _RopeModule BigString+Invariants.swift
[40/182] Compiling _RopeModule BigString+Metrics.swift
[41/182] Compiling _RopeModule BigString+Summary.swift
[42/182] Compiling _RopeModule BigString.swift
[43/182] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[44/283] Compiling HashTreeCollections _HashTreeStatistics.swift
[45/283] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[46/283] Compiling HashTreeCollections _RawHashNode.swift
[47/283] Compiling HashTreeCollections _UnmanagedHashNode.swift
[48/283] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[49/283] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[50/283] Compiling HashTreeCollections _HashNode+Structural merge.swift
[51/283] Compiling HashTreeCollections _HashTreeIterator.swift
[52/283] Compiling HashTreeCollections _HashNode+Structural filter.swift
[53/283] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[54/283] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[55/283] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[56/283] Compiling HashTreeCollections _UnsafePath.swift
[57/283] Compiling HashTreeCollections TreeDictionary+Codable.swift
[58/283] Compiling HashTreeCollections TreeDictionary+Collection.swift
[59/283] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[60/283] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[61/283] Compiling HeapModule Heap+Descriptions.swift
[62/331] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[63/331] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[64/331] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[65/331] Compiling HashTreeCollections _HashNode+Structural union.swift
[66/331] Compiling HeapModule _HeapNode.swift
[67/331] Compiling HeapModule Heap.swift
[68/331] Emitting module ContainersPreview
[69/331] Compiling HashTreeCollections _AncestorHashSlots.swift
[70/331] Compiling HashTreeCollections _Bitmap.swift
[71/331] Compiling HashTreeCollections _Bucket.swift
[72/331] Compiling HashTreeCollections _Hash.swift
[73/331] Compiling HashTreeCollections _HashLevel.swift
[75/332] Compiling HeapModule Heap+Invariants.swift
[76/332] Compiling HeapModule Heap+UnsafeHandle.swift
[77/372] Emitting module HeapModule
[78/373] Compiling HashTreeCollections TreeSet+Hashable.swift
[79/373] Compiling HashTreeCollections TreeSet+Sendable.swift
[80/373] Compiling HashTreeCollections TreeSet+Sequence.swift
[81/373] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[82/373] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[83/373] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[84/373] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[85/373] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[86/373] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[87/373] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[89/383] Compiling DequeModule UniqueDeque+Consumption.swift
[90/383] Compiling DequeModule UniqueDeque+Container.swift
[91/383] Compiling DequeModule UniqueDeque+Descriptions.swift
[92/383] Compiling DequeModule UniqueDeque+Equatable.swift
[93/383] Compiling DequeModule UniqueDeque+Experimental.swift
[94/388] Compiling DequeModule UniqueDeque.swift
[95/388] Compiling DequeModule _DequeSlot.swift
[96/388] Compiling DequeModule _UnsafeDequeHandle.swift
[97/388] Compiling DequeModule _UnsafeDequeSegments.swift
[98/388] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[99/388] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[100/388] Compiling HashTreeCollections TreeDictionary+Filter.swift
[101/388] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[102/388] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[103/388] Compiling HashTreeCollections TreeDictionary+Keys.swift
[104/388] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[105/388] Compiling HashTreeCollections TreeDictionary+Merge.swift
[106/388] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[107/388] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[108/395] Compiling DequeModule UniqueDeque+Insertions.swift
[109/395] Compiling DequeModule UniqueDeque+Prepend.swift
[110/395] Compiling DequeModule UniqueDeque+Removals.swift
[116/402] Compiling DequeModule _DequeBufferHeader.swift
[117/402] Compiling DequeModule RigidDeque+Append.swift
[118/402] Compiling DequeModule RigidDeque+Consumption.swift
[119/402] Compiling DequeModule RigidDeque+Container.swift
[120/402] Compiling DequeModule RigidDeque+Descriptions.swift
[121/402] Compiling DequeModule UniqueDeque+Hashable.swift
[122/402] Compiling DequeModule UniqueDeque+Initializers.swift
[123/402] Compiling DequeModule Deque+Codable.swift
[124/402] Compiling DequeModule Deque+Collection.swift
[125/402] Compiling DequeModule Deque+CustomReflectable.swift
[126/402] Compiling DequeModule Deque+Descriptions.swift
[127/402] Compiling DequeModule Deque+Equatable.swift
[128/402] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[129/402] Compiling DequeModule Deque+Extras.swift
[130/402] Compiling DequeModule Deque+Hashable.swift
[143/402] Compiling DequeModule UniqueDeque+Replacements.swift
[152/402] Compiling DequeModule RigidDeque+Insertions.swift
[153/402] Compiling DequeModule RigidDeque+Prepend.swift
[154/402] Compiling DequeModule RigidDeque+Removals.swift
[155/402] Compiling DequeModule RigidDeque+Replacements.swift
[156/402] Compiling DequeModule RigidDeque+Testing.swift
[157/402] Compiling DequeModule RigidDeque.swift
[158/402] Compiling DequeModule UniqueDeque+Append.swift
[159/402] Compiling DequeModule _DequeBuffer.swift
[171/402] Compiling DequeModule RigidDeque+Equatable.swift
[172/402] Compiling DequeModule RigidDeque+Experimental.swift
[173/402] Compiling DequeModule RigidDeque+Hashable.swift
[174/402] Compiling DequeModule RigidDeque+Initializers.swift
[191/402] Compiling BitCollections BitSet.swift
[192/402] Compiling BitCollections Range+Utilities.swift
[193/402] Compiling BitCollections Slice+Utilities.swift
[194/402] Compiling BitCollections UInt+Tricks.swift
[195/402] Compiling BitCollections _Word.swift
[196/402] Compiling OrderedCollections _UnsafeBitset.swift
[197/402] Compiling HashTreeCollections TreeSet+Equatable.swift
[198/402] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[199/402] Compiling HashTreeCollections TreeSet+Extras.swift
[200/402] Compiling HashTreeCollections TreeSet+Filter.swift
[210/402] Compiling BitCollections BitSet.Index.swift
[211/402] Compiling BitCollections BitSet._UnsafeHandle.swift
[212/402] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[213/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[214/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[215/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[216/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[217/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[218/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[219/402] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[220/402] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[221/402] Compiling HashTreeCollections TreeSet.swift
[222/402] Compiling DequeModule Deque+Testing.swift
[223/402] Compiling DequeModule Deque._Storage.swift
[224/402] Compiling DequeModule Deque._UnsafeHandle.swift
[225/402] Compiling DequeModule Deque.swift
[258/402] Emitting module BitCollections
[322/403] Emitting module OrderedCollections
[367/404] Emitting module _RopeModule
[378/408] Emitting module DequeModule
[385/414] Emitting module HashTreeCollections
[407/415] Compiling _RopeModule Rope+Join.swift
[408/415] Compiling _RopeModule Rope+MutatingForEach.swift
[409/415] Compiling _RopeModule Rope+Remove.swift
[410/415] Compiling _RopeModule Rope+RemoveSubrange.swift
[411/415] Compiling _RopeModule Rope+Split.swift
[412/415] Compiling _RopeModule Optional Utilities.swift
[413/415] Compiling _RopeModule String Utilities.swift
[414/415] Compiling _RopeModule String.Index+ABI.swift
[415/415] Compiling _RopeModule _CharacterRecognizer.swift
[417/422] Compiling Collections OrderedCollections reexports.swift
[418/422] Compiling Collections HeapModule reexports.swift
[419/422] Compiling Collections DequeModule reexports.swift
[420/422] Compiling Collections HashTreeCollections reexports.swift
[421/422] Emitting module Collections
[422/422] Compiling Collections BitCollections reexports.swift
[424/439] 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 |
[425/441] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[426/441] Compiling SwiftCBOR Util.swift
[427/441] Compiling SwiftCBOR CodableCBOREncoder.swift
[428/441] Compiling SwiftCBOR KeyedEncodingContainer.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 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 |
[432/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 |
[433/441] Compiling SwiftCBOR CBORInputStream.swift
[434/441] Compiling SwiftCBOR CBOROptions.swift
[435/441] Compiling SwiftCBOR CodableCBORDecoder.swift
[436/441] Compiling SwiftCBOR KeyedDecodingContainer.swift
[437/441] Compiling SwiftCBOR AnyCodingKey.swift
[438/441] Compiling SwiftCBOR CBOR.swift
[439/441] Compiling SwiftCBOR CBORDecoder.swift
[440/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 {
[441/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 {
BUILD FAILURE 6.3 wasm