Build Information
Failed to build SwiftCBOR, reference master (0b01ca
), with Swift 6.2 (beta) for Android on 21 Jun 2025 13:44:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/MasterJ93/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.80s)
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-8C5A4AE7A8CE2BA.txt
[11/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/24] Compiling InternalCollectionsUtilities Debugging.swift
[13/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/25] Compiling InternalCollectionsUtilities Descriptions.swift
[15/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[16/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[17/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[18/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/25] Compiling InternalCollectionsUtilities Integer rank.swift
[24/25] Emitting module InternalCollectionsUtilities
[25/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/174] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[28/174] Compiling HeapModule Heap+Invariants.swift
[29/300] Compiling HeapModule _HeapNode.swift
[30/300] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[31/300] Compiling _RopeModule BigString+Chunk+Splitting.swift
[32/302] Compiling HeapModule Heap.swift
[33/302] Emitting module HeapModule
[34/302] Compiling _RopeModule BigString+Chunk+Counts.swift
[35/302] Compiling _RopeModule BigString+Chunk+Description.swift
[36/302] Compiling _RopeModule Rope+ForEachWhile.swift
[37/302] Compiling _RopeModule Rope+Insert.swift
[38/302] Compiling _RopeModule Rope+_Storage.swift
[39/302] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[40/302] Compiling _RopeModule Rope+_UnsafeHandle.swift
[41/302] Compiling _RopeModule Rope.swift
[42/302] Compiling _RopeModule RopeElement.swift
[43/309] Compiling _RopeModule BigString+Managing Breaks.swift
[44/309] Compiling _RopeModule BigString+RemoveSubrange.swift
[45/309] Compiling _RopeModule BigString+ReplaceSubrange.swift
[46/309] Compiling _RopeModule BigString+Split.swift
[47/309] Compiling _RopeModule Range+BigString.swift
[48/309] Compiling _RopeModule BigString+UTF16View.swift
[49/309] Compiling _RopeModule BigString+UTF8View.swift
[50/309] Compiling _RopeModule _RopeVersion.swift
[51/309] Compiling _RopeModule Rope+Collection.swift
[52/309] Compiling _RopeModule Rope+Index.swift
[53/319] Compiling HeapModule Heap+Descriptions.swift
[54/319] Compiling HeapModule Heap+UnsafeHandle.swift
[56/320] Compiling DequeModule _DequeSlot.swift
[57/320] Compiling DequeModule _UnsafeWrappedBuffer.swift
[58/320] Compiling _RopeModule BigString+Ingester.swift
[59/320] Compiling _RopeModule BigString+Invariants.swift
[60/320] Compiling _RopeModule BigString+Iterators.swift
[61/320] Compiling _RopeModule BigString+Metrics.swift
[62/320] Compiling _RopeModule BigString+Summary.swift
[63/320] Compiling _RopeModule BigString.swift
[64/320] Compiling _RopeModule BigString+Append.swift
[65/320] Compiling _RopeModule BigString+Initializers.swift
[69/320] Compiling _RopeModule Rope+Sequence.swift
[70/320] Compiling _RopeModule Rope+Append.swift
[71/320] Compiling _RopeModule Rope+Extract.swift
[72/320] Compiling _RopeModule Rope+Find.swift
[73/320] Compiling _RopeModule BigString+Insert.swift
[91/320] Compiling _RopeModule BigString+Chunk.swift
[92/320] Compiling _RopeModule BigString+BidirectionalCollection.swift
[93/320] Compiling _RopeModule BigString+Comparable.swift
[94/320] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[95/320] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[96/320] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[97/320] Compiling _RopeModule BigString+CustomStringConvertible.swift
[98/320] Compiling _RopeModule BigString+Equatable.swift
[107/320] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[108/320] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[109/320] Compiling _RopeModule BigString+Sequence.swift
[110/320] Compiling _RopeModule BigString+TextOutputStream.swift
[111/320] Compiling _RopeModule BigString+Builder.swift
[112/320] Compiling _RopeModule BigString+Contents.swift
[113/320] Compiling _RopeModule BigString+Debugging.swift
[114/320] Compiling _RopeModule BigString+Index.swift
[116/320] Compiling OrderedCollections OrderedSet+Sendable.swift
[117/320] Compiling OrderedCollections OrderedSet+SubSequence.swift
[118/320] Compiling OrderedCollections OrderedSet+Testing.swift
[119/320] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[120/320] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[121/320] Compiling OrderedCollections OrderedSet.swift
[122/320] Compiling OrderedCollections _UnsafeBitset.swift
[123/320] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[124/320] Compiling _RopeModule BigSubstring.swift
[125/320] Compiling _RopeModule Rope+Builder.swift
[154/327] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[155/327] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[156/327] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[157/327] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[158/327] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[159/327] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[160/327] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[161/327] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[162/327] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[163/327] Compiling HashTreeCollections TreeSet.swift
[164/327] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[165/327] Compiling _RopeModule BigString+Chunk+Breaks.swift
[166/327] Emitting module DequeModule
[178/337] Emitting module BitCollections
[214/337] Emitting module OrderedCollections
[228/337] Compiling BitCollections BitSet.Index.swift
[229/337] Compiling BitCollections BitSet._UnsafeHandle.swift
[230/337] Compiling BitCollections BitSet.swift
[231/337] Compiling BitCollections Range+Utilities.swift
[232/337] Compiling BitCollections Slice+Utilities.swift
[233/337] Compiling BitCollections UInt+Tricks.swift
[247/337] Compiling BitCollections _Word.swift
[309/339] Emitting module _RopeModule
[310/339] Emitting module HashTreeCollections
[311/339] Compiling _RopeModule Rope+Debugging.swift
[312/339] Compiling _RopeModule Rope+Invariants.swift
[313/339] Compiling _RopeModule Rope+_Node.swift
[314/339] Compiling _RopeModule Rope+Join.swift
[315/339] Compiling _RopeModule Rope+MutatingForEach.swift
[316/339] Compiling _RopeModule Rope+Remove.swift
[317/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[318/339] Compiling _RopeModule Rope+Split.swift
[319/339] Compiling _RopeModule Optional Utilities.swift
[320/339] Compiling _RopeModule String Utilities.swift
[321/339] Compiling _RopeModule String.Index+ABI.swift
[340/340] Compiling _RopeModule _CharacterRecognizer.swift
[342/343] Compiling Collections Collections.swift
[343/343] Emitting module Collections
[345/360] 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 |
[346/360] 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 |
[347/362] Compiling SwiftCBOR CBORInputStream.swift
[348/362] Compiling SwiftCBOR CBOROptions.swift
[349/362] Compiling SwiftCBOR CodableCBORDecoder.swift
[350/362] Compiling SwiftCBOR KeyedDecodingContainer.swift
[351/362] Compiling SwiftCBOR CodableCBOREncoder.swift
[352/362] Compiling SwiftCBOR KeyedEncodingContainer.swift
[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 AnyCodingKey.swift
[356/362] Compiling SwiftCBOR CBOR.swift
[357/362] Compiling SwiftCBOR CBORDecoder.swift
[358/362] 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 |
[359/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 {
[360/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 {
[361/362] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[362/362] Compiling SwiftCBOR Util.swift
BUILD FAILURE 6.2 android