The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-json-schema, reference v0.0.4 (105cfc), with Swift 6.4 for Android on 22 Sep 2026 13:32:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
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-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2346/18819] Fetching swift-docc-plugin, swift-snapshot-testing
[3005/98822] Fetching swift-docc-plugin, swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin (2.48s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.52s)
Fetched https://github.com/swiftlang/swift-syntax (3.50s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.94s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.71s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.94s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.19s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.62s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.83s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6142] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.86s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (1.97s)
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.6
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
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.7.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
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
Building for debugging...
[Pre-planning 1 / 95]
[Starting]
[41 / 49] 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?
[42 / 49] SwiftJSONSchema
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile 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 =
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Annotations/Annotation.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Annotations/AnnotationContainer.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Annotations/JSONType.swift -primary-file /host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift -primary-file /host/spi-builder-workspace/Sources/SwiftJSONSchema/FormatValidators/BuiltinValidators.swift -primary-file /host/spi-builder-workspace/Sources/SwiftJSONSchema/FormatValidators/FormatValidator.swift -primary-file /host/spi-builder-workspace/Sources/SwiftJSONSchema/JSONValue/Array+JSONValue.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/JSONValue/JSONValue+Codable.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/JSONValue/JSONValue+ExpressibleByLiteral.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/JSONValue/JSONValue.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keyword.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Annotation.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Applicator.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Assertion.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Identifier.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Metadata.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Reference.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords+Reserved.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Keywords/Keywords.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Pointers/JSONPointer.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Schema+Codable.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Schema+Equatable.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Schema.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Context.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Errors/SchemaIssue.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/Errors/ValidationIssue.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/ValidatableSchema.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/ValidationLocation.swift /host/spi-builder-workspace/Sources/SwiftJSONSchema/Validation/ValidationResult.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/supplementaryOutputs-2 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftJSONSchema -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/SwiftJSONSchema_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/Dialect.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/BuiltinValidators.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/FormatValidator.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/Array+JSONValue.o -index-unit-output-path /swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/Dialect.o -index-unit-output-path /swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/BuiltinValidators.o -index-unit-output-path /swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/FormatValidator.o -index-unit-output-path /swift-json-schema.build/Debug-android-aarch64/SwiftJSONSchema-t.build/Objects-normal/aarch64/Array+JSONValue.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android