Build Information
Failed to build JSONSchema, reference master (8c7ec1
), with Swift 6.2 (beta) for Android on 18 Jun 2025 22:27:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/kylef/JSONSchema.swift.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/kylef/JSONSchema.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8c7ec15 feat: Add support for date-time format
Submodule path 'Tests/Cases': checked out 'fd0aa9f8e2497d9048e17f071abb8fa409f5cb52'
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 @):
8c7ec156dde09715d8d2ed83cc8fe6b1ba90648c
SUCCESS checkout https://github.com/kylef/JSONSchema.swift.git at master
========================================
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-4606859-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/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.29s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.11s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at d02129a9af77729de049d328dd61e530b6f2bb2b
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/41] Emitting module JSONSchema
[4/46] Compiling JSONSchema dependentSchemas.swift
[5/46] Compiling JSONSchema if.swift
[6/46] Compiling JSONSchema items.swift
[7/46] Compiling JSONSchema not.swift
[8/46] Compiling JSONSchema oneOf.swift
[9/46] Compiling JSONSchema patternProperties.swift
[10/46] Compiling JSONSchema additionalItems.swift
[11/46] Compiling JSONSchema additionalProperties.swift
[12/46] Compiling JSONSchema allOf.swift
[13/46] Compiling JSONSchema anyOf.swift
[14/46] Compiling JSONSchema contains.swift
[15/46] Compiling JSONSchema dependencies.swift
[16/46] Compiling JSONSchema minMaxNumber.swift
[17/46] Compiling JSONSchema minMaxProperties.swift
[18/46] Compiling JSONSchema multipleOf.swift
[19/46] Compiling JSONSchema pattern.swift
[20/46] Compiling JSONSchema required.swift
[21/46] Compiling JSONSchema duration.swift
/host/spi-builder-workspace/Sources/RefResolver.swift:4:29: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
2 |
3 | func urlSplitFragment(url: String) -> (String, String) {
4 | guard let hashIndex = url.index(of: "#") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
5 | return (url, "")
6 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/46] Compiling JSONSchema time.swift
/host/spi-builder-workspace/Sources/RefResolver.swift:4:29: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
2 |
3 | func urlSplitFragment(url: String) -> (String, String) {
4 | guard let hashIndex = url.index(of: "#") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
5 | return (url, "")
6 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/46] Compiling JSONSchema JSONPointer.swift
/host/spi-builder-workspace/Sources/RefResolver.swift:4:29: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
2 |
3 | func urlSplitFragment(url: String) -> (String, String) {
4 | guard let hashIndex = url.index(of: "#") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
5 | return (url, "")
6 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[24/46] Compiling JSONSchema JSONSchema.swift
/host/spi-builder-workspace/Sources/RefResolver.swift:4:29: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
2 |
3 | func urlSplitFragment(url: String) -> (String, String) {
4 | guard let hashIndex = url.index(of: "#") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
5 | return (url, "")
6 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/46] Compiling JSONSchema RefResolver.swift
/host/spi-builder-workspace/Sources/RefResolver.swift:4:29: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
2 |
3 | func urlSplitFragment(url: String) -> (String, String) {
4 | guard let hashIndex = url.index(of: "#") else {
| |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
| `- note: use 'firstIndex(of:)' instead
5 | return (url, "")
6 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/46] Compiling JSONSchema prefixItems.swift
[27/46] Compiling JSONSchema properties.swift
[28/46] Compiling JSONSchema propertyNames.swift
[29/46] Compiling JSONSchema ref.swift
[30/46] Compiling JSONSchema Draft201909Validator.swift
[31/46] Compiling JSONSchema Draft202012Validator.swift
[32/46] Compiling JSONSchema Draft4Validator.swift
[33/46] Compiling JSONSchema Draft6Validator.swift
[34/46] Compiling JSONSchema Draft7Validator.swift
[35/46] Compiling JSONSchema date-time.swift
[36/46] Compiling JSONSchema date.swift
[37/46] Compiling JSONSchema const.swift
[38/46] Compiling JSONSchema dependentRequired.swift
[39/46] Compiling JSONSchema enum.swift
[40/46] Compiling JSONSchema minMaxItems.swift
[41/46] Compiling JSONSchema minMaxLength.swift
[42/46] Compiling JSONSchema uniqueItems.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:46:65: error: cannot find 'INET6_ADDRSTRLEN' in scope
44 | func validateIPv6(_ context: Context, _ value: String) -> AnySequence<ValidationError> {
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
| `- error: cannot find 'INET6_ADDRSTRLEN' in scope
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
48 | return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:47:8: error: cannot find 'inet_pton' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'inet_pton' in scope
48 | return AnySequence(EmptyCollection())
49 | }
/host/spi-builder-workspace/Sources/format.swift:47:18: error: cannot find 'AF_INET6' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'AF_INET6' in scope
48 | return AnySequence(EmptyCollection())
49 | }
[43/46] 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:46:65: error: cannot find 'INET6_ADDRSTRLEN' in scope
44 | func validateIPv6(_ context: Context, _ value: String) -> AnySequence<ValidationError> {
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
| `- error: cannot find 'INET6_ADDRSTRLEN' in scope
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
48 | return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:47:8: error: cannot find 'inet_pton' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'inet_pton' in scope
48 | return AnySequence(EmptyCollection())
49 | }
/host/spi-builder-workspace/Sources/format.swift:47:18: error: cannot find 'AF_INET6' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'AF_INET6' in scope
48 | return AnySequence(EmptyCollection())
49 | }
[44/46] 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:46:65: error: cannot find 'INET6_ADDRSTRLEN' in scope
44 | func validateIPv6(_ context: Context, _ value: String) -> AnySequence<ValidationError> {
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
| `- error: cannot find 'INET6_ADDRSTRLEN' in scope
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
48 | return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:47:8: error: cannot find 'inet_pton' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'inet_pton' in scope
48 | return AnySequence(EmptyCollection())
49 | }
/host/spi-builder-workspace/Sources/format.swift:47:18: error: cannot find 'AF_INET6' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'AF_INET6' in scope
48 | return AnySequence(EmptyCollection())
49 | }
[45/46] 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:46:65: error: cannot find 'INET6_ADDRSTRLEN' in scope
44 | func validateIPv6(_ context: Context, _ value: String) -> AnySequence<ValidationError> {
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
| `- error: cannot find 'INET6_ADDRSTRLEN' in scope
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
48 | return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:47:8: error: cannot find 'inet_pton' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'inet_pton' in scope
48 | return AnySequence(EmptyCollection())
49 | }
/host/spi-builder-workspace/Sources/format.swift:47:18: error: cannot find 'AF_INET6' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'AF_INET6' in scope
48 | return AnySequence(EmptyCollection())
49 | }
[46/46] 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:46:65: error: cannot find 'INET6_ADDRSTRLEN' in scope
44 | func validateIPv6(_ context: Context, _ value: String) -> AnySequence<ValidationError> {
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
| `- error: cannot find 'INET6_ADDRSTRLEN' in scope
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
48 | return AnySequence(EmptyCollection())
/host/spi-builder-workspace/Sources/format.swift:47:8: error: cannot find 'inet_pton' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'inet_pton' in scope
48 | return AnySequence(EmptyCollection())
49 | }
/host/spi-builder-workspace/Sources/format.swift:47:18: error: cannot find 'AF_INET6' in scope
45 | if !value.contains("%") {
46 | var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
47 | if inet_pton(AF_INET6, value, &buf) == 1 {
| `- error: cannot find 'AF_INET6' in scope
48 | return AnySequence(EmptyCollection())
49 | }
BUILD FAILURE 6.2 android