The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-json-schema, reference v0.0.4 (105cfc), with Swift 6.3 for Android on 16 Apr 2026 11:51:13 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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/niscy-eudiw/swift-json-schema.git
Reference: v0.0.4
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/niscy-eudiw/swift-json-schema
 * tag               v0.0.4     -> FETCH_HEAD
HEAD is now at 105cfcd [fix] updated package name
Cloned https://github.com/niscy-eudiw/swift-json-schema.git
Revision (git rev-parse @):
105cfcd41cf83f264f23ed36dc11191dea45b65f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/niscy-eudiw/swift-json-schema.git at v0.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/niscy-eudiw/swift-json-schema.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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.87s)
[1/74985] Fetching swift-syntax
[2/91038] Fetching swift-syntax, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-syntax from cache (14.96s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (15.04s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (19.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.92s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.83s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.86s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.64s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (1.41s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.35s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (2.09s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
warning: 'spi-builder-workspace': Invalid Resource 'JSON-Schema-Test-Suite': File not found.
warning: 'spi-builder-workspace': dependency 'swift-syntax' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snapshot-testing' is not used by any target
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/12] Copying content.json
[2/12] Copying applicator.json
[2/12] Copying unevaluated.json
[2/12] Copying schema.json
[2/12] Copying meta-data.json
[2/12] Copying format-annotation.json
[2/12] Copying core.json
[2/12] Copying validation.json
[10/12] Write sources
[11/12] Write swift-version--4F562202D5529B1.txt
[13/40] Emitting module SwiftJSONSchema
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift:5:7: warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 3 | /// Container for information used when validating a schema.
 4 | public final class Context: Sendable {
 5 |   var dialect: Dialect
   |       `- warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 6 |
 7 |   var rootRawSchema: JSONValue?
[14/43] Compiling SwiftJSONSchema JSONValue+ExpressibleByLiteral.swift
[15/43] Compiling SwiftJSONSchema JSONValue.swift
[16/43] Compiling SwiftJSONSchema Keyword.swift
[17/43] Compiling SwiftJSONSchema Keywords+Annotation.swift
[18/43] Compiling SwiftJSONSchema Annotation.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:140:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
138 |             "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
139 |         #else
140 |           guard !url.lastPathComponent.hasPrefix("schema") else { return }
    |                      |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
    |                      |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
141 |           let value = try jsonValue(from: url)
142 |           let uriString =
[19/43] Compiling SwiftJSONSchema AnnotationContainer.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:140:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
138 |             "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
139 |         #else
140 |           guard !url.lastPathComponent.hasPrefix("schema") else { return }
    |                      |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
    |                      |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
141 |           let value = try jsonValue(from: url)
142 |           let uriString =
[20/43] Compiling SwiftJSONSchema JSONType.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:140:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
138 |             "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
139 |         #else
140 |           guard !url.lastPathComponent.hasPrefix("schema") else { return }
    |                      |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
    |                      |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
141 |           let value = try jsonValue(from: url)
142 |           let uriString =
[21/43] Compiling SwiftJSONSchema Dialect.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:140:22: error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
138 |             "meta/\(url.lastPathComponent?.replacingOccurrences(of: ".json", with: "") ?? "")"
139 |         #else
140 |           guard !url.lastPathComponent.hasPrefix("schema") else { return }
    |                      |- error: value of optional type 'String?' must be unwrapped to refer to member 'hasPrefix' of wrapped base type 'String'
    |                      |- note: chain the optional using '?' to access member 'hasPrefix' only for non-'nil' base values
    |                      `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
141 |           let value = try jsonValue(from: url)
142 |           let uriString =
[22/43] Compiling SwiftJSONSchema Schema+Codable.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift:5:7: warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 3 | /// Container for information used when validating a schema.
 4 | public final class Context: Sendable {
 5 |   var dialect: Dialect
   |       `- warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 6 |
 7 |   var rootRawSchema: JSONValue?
[23/43] Compiling SwiftJSONSchema Schema+Equatable.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift:5:7: warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 3 | /// Container for information used when validating a schema.
 4 | public final class Context: Sendable {
 5 |   var dialect: Dialect
   |       `- warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 6 |
 7 |   var rootRawSchema: JSONValue?
[24/43] Compiling SwiftJSONSchema Schema.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift:5:7: warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 3 | /// Container for information used when validating a schema.
 4 | public final class Context: Sendable {
 5 |   var dialect: Dialect
   |       `- warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 6 |
 7 |   var rootRawSchema: JSONValue?
[25/43] Compiling SwiftJSONSchema Context.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift:5:7: warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 3 | /// Container for information used when validating a schema.
 4 | public final class Context: Sendable {
 5 |   var dialect: Dialect
   |       `- warning: stored property 'dialect' of 'Sendable'-conforming class 'Context' is mutable; this is an error in the Swift 6 language mode
 6 |
 7 |   var rootRawSchema: JSONValue?
[26/43] Compiling SwiftJSONSchema SchemaIssue.swift
[27/43] Compiling SwiftJSONSchema ValidationIssue.swift
[28/43] Compiling SwiftJSONSchema ValidatableSchema.swift
[29/43] Compiling SwiftJSONSchema BuiltinValidators.swift
[30/43] Compiling SwiftJSONSchema FormatValidator.swift
[31/43] Compiling SwiftJSONSchema Array+JSONValue.swift
[32/43] Compiling SwiftJSONSchema JSONValue+Codable.swift
[33/43] Compiling SwiftJSONSchema ValidationLocation.swift
[34/43] Compiling SwiftJSONSchema ValidationResult.swift
[35/43] Compiling SwiftJSONSchema resource_bundle_accessor.swift
[36/43] Compiling SwiftJSONSchema Keywords+Reference.swift
[37/43] Compiling SwiftJSONSchema Keywords+Reserved.swift
[38/43] Compiling SwiftJSONSchema Keywords.swift
[39/43] Compiling SwiftJSONSchema JSONPointer.swift
[40/43] Compiling SwiftJSONSchema Keywords+Applicator.swift
[41/43] Compiling SwiftJSONSchema Keywords+Assertion.swift
[42/43] Compiling SwiftJSONSchema Keywords+Identifier.swift
[43/43] Compiling SwiftJSONSchema Keywords+Metadata.swift
BUILD FAILURE 6.3 android