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 JSONSchema, reference 0.6.0 (d14de4), with Swift 6.2 (beta) for Android on 18 Jun 2025 22:27:02 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/kylef/JSONSchema.swift.git
Reference: 0.6.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/kylef/JSONSchema.swift
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at d14de4b release: 0.6.0
Submodule path 'Tests/Cases': checked out '77f1d10cbb23b2f4d2bbf50ca1d5cf3804cb2ce4'
Submodule 'Tests/Cases' (https://github.com/json-schema/JSON-Schema-Test-Suite) registered for path 'Tests/Cases'
Cloning into '/host/spi-builder-workspace/Tests/Cases'...
Cloned https://github.com/kylef/JSONSchema.swift.git
Revision (git rev-parse @):
d14de4b2d9205068c9db89c00d097ca43c897000
SUCCESS checkout https://github.com/kylef/JSONSchema.swift.git at 0.6.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kylef/JSONSchema.swift.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
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.20s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.22s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/37] Emitting module JSONSchema
[4/41] Compiling JSONSchema dependencies.swift
[5/41] Compiling JSONSchema dependentSchemas.swift
[6/41] Compiling JSONSchema if.swift
[7/41] Compiling JSONSchema items.swift
[8/41] Compiling JSONSchema not.swift
[9/41] Compiling JSONSchema oneOf.swift
[10/41] Compiling JSONSchema patternProperties.swift
[11/41] Compiling JSONSchema properties.swift
[12/41] Compiling JSONSchema propertyNames.swift
[13/41] Compiling JSONSchema ref.swift
[14/41] Compiling JSONSchema ValidationResult.swift
/host/spi-builder-workspace/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[15/41] Compiling JSONSchema Validator.swift
/host/spi-builder-workspace/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[16/41] Compiling JSONSchema Validators.swift
/host/spi-builder-workspace/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[17/41] Compiling JSONSchema format.swift
/host/spi-builder-workspace/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[18/41] Compiling JSONSchema additionalItems.swift
[19/41] Compiling JSONSchema additionalProperties.swift
[20/41] Compiling JSONSchema allOf.swift
[21/41] Compiling JSONSchema anyOf.swift
[22/41] Compiling JSONSchema contains.swift
[23/41] Compiling JSONSchema multipleOf.swift
[24/41] Compiling JSONSchema pattern.swift
[25/41] Compiling JSONSchema required.swift
[26/41] Compiling JSONSchema uniqueItems.swift
[27/41] Compiling JSONSchema enum.swift
[28/41] Compiling JSONSchema minMaxItems.swift
[29/41] Compiling JSONSchema minMaxLength.swift
[30/41] Compiling JSONSchema minMaxNumber.swift
[31/41] Compiling JSONSchema minMaxProperties.swift
[32/41] Compiling JSONSchema Draft201909Validator.swift
[33/41] Compiling JSONSchema Draft202012Validator.swift
[34/41] Compiling JSONSchema Draft4Validator.swift
[35/41] Compiling JSONSchema Draft6Validator.swift
[36/41] Compiling JSONSchema Draft7Validator.swift
[37/41] Compiling JSONSchema JSONPointer.swift
[38/41] Compiling JSONSchema JSONSchema.swift
[39/41] Compiling JSONSchema RefResolver.swift
[40/41] Compiling JSONSchema const.swift
[41/41] Compiling JSONSchema dependentRequired.swift
BUILD FAILURE 6.2 android