The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DictionaryCoding, reference main (6c2daf), with Swift 6.2 (beta) for Android on 19 Jun 2025 15:44:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/elegantchaos/DictionaryCoding.git
Reference: main
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/elegantchaos/DictionaryCoding
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c2dafa updated to MIT license
Cloned https://github.com/elegantchaos/DictionaryCoding.git
Revision (git rev-parse @):
6c2dafae704a75900c0f9ffcfa93f4e72dae366f
SUCCESS checkout https://github.com/elegantchaos/DictionaryCoding.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/elegantchaos/DictionaryCoding.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/7] Compiling DictionaryCoding DictionaryErrors.swift
[4/7] Emitting module DictionaryCoding
[5/7] Compiling DictionaryCoding DictionaryEncoder.swift
[6/7] Compiling DictionaryCoding DictionaryDecoder.swift
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:955:27: error: cannot find 'kCFBooleanTrue' in scope
 953 |         if let number = value as? NSNumber {
 954 |
 955 |             if number === kCFBooleanTrue as NSNumber {
     |                           `- error: cannot find 'kCFBooleanTrue' in scope
 956 |                 return true
 957 |             } else if number === kCFBooleanFalse as NSNumber {
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:957:34: error: cannot find 'kCFBooleanFalse' in scope
 955 |             if number === kCFBooleanTrue as NSNumber {
 956 |                 return true
 957 |             } else if number === kCFBooleanFalse as NSNumber {
     |                                  `- error: cannot find 'kCFBooleanFalse' in scope
 958 |                 return false
 959 |             } else {
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:976:59: error: cannot find 'kCFBooleanTrue' in scope
 974 |         guard !(value is NSNull) else { return nil }
 975 |
 976 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
 977 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
 978 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:976:86: error: cannot find 'kCFBooleanFalse' in scope
 974 |         guard !(value is NSNull) else { return nil }
 975 |
 976 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
 977 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
 978 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:991:59: error: cannot find 'kCFBooleanTrue' in scope
 989 |         guard !(value is NSNull) else { return nil }
 990 |
 991 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
 992 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
 993 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:991:86: error: cannot find 'kCFBooleanFalse' in scope
 989 |         guard !(value is NSNull) else { return nil }
 990 |
 991 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
 992 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
 993 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1006:59: error: cannot find 'kCFBooleanTrue' in scope
1004 |         guard !(value is NSNull) else { return nil }
1005 |
1006 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1007 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1008 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1006:86: error: cannot find 'kCFBooleanFalse' in scope
1004 |         guard !(value is NSNull) else { return nil }
1005 |
1006 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1007 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1008 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1021:59: error: cannot find 'kCFBooleanTrue' in scope
1019 |         guard !(value is NSNull) else { return nil }
1020 |
1021 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1022 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1023 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1021:86: error: cannot find 'kCFBooleanFalse' in scope
1019 |         guard !(value is NSNull) else { return nil }
1020 |
1021 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1022 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1023 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1036:59: error: cannot find 'kCFBooleanTrue' in scope
1034 |         guard !(value is NSNull) else { return nil }
1035 |
1036 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1037 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1038 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1036:86: error: cannot find 'kCFBooleanFalse' in scope
1034 |         guard !(value is NSNull) else { return nil }
1035 |
1036 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1037 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1038 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1051:59: error: cannot find 'kCFBooleanTrue' in scope
1049 |         guard !(value is NSNull) else { return nil }
1050 |
1051 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1052 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1053 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1051:86: error: cannot find 'kCFBooleanFalse' in scope
1049 |         guard !(value is NSNull) else { return nil }
1050 |
1051 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1052 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1053 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1066:59: error: cannot find 'kCFBooleanTrue' in scope
1064 |         guard !(value is NSNull) else { return nil }
1065 |
1066 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1067 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1068 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1066:86: error: cannot find 'kCFBooleanFalse' in scope
1064 |         guard !(value is NSNull) else { return nil }
1065 |
1066 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1067 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1068 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1081:59: error: cannot find 'kCFBooleanTrue' in scope
1079 |         guard !(value is NSNull) else { return nil }
1080 |
1081 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1082 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1083 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1081:86: error: cannot find 'kCFBooleanFalse' in scope
1079 |         guard !(value is NSNull) else { return nil }
1080 |
1081 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1082 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1083 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1096:59: error: cannot find 'kCFBooleanTrue' in scope
1094 |         guard !(value is NSNull) else { return nil }
1095 |
1096 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1097 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1098 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1096:86: error: cannot find 'kCFBooleanFalse' in scope
1094 |         guard !(value is NSNull) else { return nil }
1095 |
1096 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1097 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1098 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1111:59: error: cannot find 'kCFBooleanTrue' in scope
1109 |         guard !(value is NSNull) else { return nil }
1110 |
1111 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                           `- error: cannot find 'kCFBooleanTrue' in scope
1112 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1113 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1111:86: error: cannot find 'kCFBooleanFalse' in scope
1109 |         guard !(value is NSNull) else { return nil }
1110 |
1111 |         guard let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse else {
     |                                                                                      `- error: cannot find 'kCFBooleanFalse' in scope
1112 |             throw DecodingError._typeMismatch(at: self.codingPath, expectation: type, reality: value)
1113 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1126:56: error: cannot find 'kCFBooleanTrue' in scope
1124 |         guard !(value is NSNull) else { return nil }
1125 |
1126 |         if let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse {
     |                                                        `- error: cannot find 'kCFBooleanTrue' in scope
1127 |             // We are willing to return a Float by losing precision:
1128 |             // * If the original value was integral,
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1126:83: error: cannot find 'kCFBooleanFalse' in scope
1124 |         guard !(value is NSNull) else { return nil }
1125 |
1126 |         if let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse {
     |                                                                                   `- error: cannot find 'kCFBooleanFalse' in scope
1127 |             // We are willing to return a Float by losing precision:
1128 |             // * If the original value was integral,
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1170:56: error: cannot find 'kCFBooleanTrue' in scope
1168 |         guard !(value is NSNull) else { return nil }
1169 |
1170 |         if let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse {
     |                                                        `- error: cannot find 'kCFBooleanTrue' in scope
1171 |             // We are always willing to return the number as a Double:
1172 |             // * If the original value was integral, it is guaranteed to fit in a Double; we are willing to lose precision past 2^53 if you encoded a UInt64 but requested a Double
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1170:83: error: cannot find 'kCFBooleanFalse' in scope
1168 |         guard !(value is NSNull) else { return nil }
1169 |
1170 |         if let number = value as? NSNumber, number !== kCFBooleanTrue, number !== kCFBooleanFalse {
     |                                                                                   `- error: cannot find 'kCFBooleanFalse' in scope
1171 |             // We are always willing to return the number as a Double:
1172 |             // * If the original value was integral, it is guaranteed to fit in a Double; we are willing to lose precision past 2^53 if you encoded a UInt64 but requested a Double
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1230:22: error: cannot find 'CFGetTypeID' in scope
1228 |         }
1229 |
1230 |         let cfType = CFGetTypeID(value as CFTypeRef)  // NB this could be dangerous - we're assuming that it's ok to call CFGetTypeID with the value, which may not be true
     |                      `- error: cannot find 'CFGetTypeID' in scope
1231 |         if cfType == CFUUIDGetTypeID() {
1232 |             let cfValue = value as! CFUUID
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1230:43: error: cannot find type 'CFTypeRef' in scope
1228 |         }
1229 |
1230 |         let cfType = CFGetTypeID(value as CFTypeRef)  // NB this could be dangerous - we're assuming that it's ok to call CFGetTypeID with the value, which may not be true
     |                                           `- error: cannot find type 'CFTypeRef' in scope
1231 |         if cfType == CFUUIDGetTypeID() {
1232 |             let cfValue = value as! CFUUID
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1231:22: error: cannot find 'CFUUIDGetTypeID' in scope
1229 |
1230 |         let cfType = CFGetTypeID(value as CFTypeRef)  // NB this could be dangerous - we're assuming that it's ok to call CFGetTypeID with the value, which may not be true
1231 |         if cfType == CFUUIDGetTypeID() {
     |                      `- error: cannot find 'CFUUIDGetTypeID' in scope
1232 |             let cfValue = value as! CFUUID
1233 |             let string = CFUUIDCreateString(kCFAllocatorDefault, cfValue) as String
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1232:37: error: cannot find type 'CFUUID' in scope
1230 |         let cfType = CFGetTypeID(value as CFTypeRef)  // NB this could be dangerous - we're assuming that it's ok to call CFGetTypeID with the value, which may not be true
1231 |         if cfType == CFUUIDGetTypeID() {
1232 |             let cfValue = value as! CFUUID
     |                                     `- error: cannot find type 'CFUUID' in scope
1233 |             let string = CFUUIDCreateString(kCFAllocatorDefault, cfValue) as String
1234 |             return UUID(uuidString: string)
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1233:26: error: cannot find 'CFUUIDCreateString' in scope
1231 |         if cfType == CFUUIDGetTypeID() {
1232 |             let cfValue = value as! CFUUID
1233 |             let string = CFUUIDCreateString(kCFAllocatorDefault, cfValue) as String
     |                          `- error: cannot find 'CFUUIDCreateString' in scope
1234 |             return UUID(uuidString: string)
1235 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1233:45: error: cannot find 'kCFAllocatorDefault' in scope
1231 |         if cfType == CFUUIDGetTypeID() {
1232 |             let cfValue = value as! CFUUID
1233 |             let string = CFUUIDCreateString(kCFAllocatorDefault, cfValue) as String
     |                                             `- error: cannot find 'kCFAllocatorDefault' in scope
1234 |             return UUID(uuidString: string)
1235 |         }
/host/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1328:48: error: cannot find 'CFUUID' in scope
1326 |         } else if type == Data.self || type == NSData.self {
1327 |             return try self.unbox(value, as: Data.self) as? T
1328 |         } else if type == UUID.self || type == CFUUID.self {
     |                                                `- error: cannot find 'CFUUID' in scope
1329 |             return try self.unbox(value, as: UUID.self) as? T
1330 |         } else if type == URL.self || type == NSURL.self {
[7/7] Compiling DictionaryCoding DictionaryCodingKey.swift
BUILD FAILURE 6.2 android