Build Information
Failed to build OrderedJSON, reference v3.0.0 (01394e), with Swift 6.4 for Android on 25 Sep 2026 16:20:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/miamisunset/OrderedJSON.git
Reference: v3.0.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/miamisunset/OrderedJSON
* tag v3.0.0 -> FETCH_HEAD
HEAD is now at 01394e5 refactor: change JSONSchemaError.keyword from String to JSONSchemaKeyword enum (#53) (#53)
Submodule path 'Tests/JSON-Schema-Test-Suite': checked out '584e550cf443b9f9b9f9a3f05fc0b2dbae178dfa'
Submodule 'Tests/JSON-Schema-Test-Suite' (https://github.com/json-schema-org/JSON-Schema-Test-Suite.git) registered for path 'Tests/JSON-Schema-Test-Suite'
Cloning into '/host/spi-builder-workspace/Tests/JSON-Schema-Test-Suite'...
Cloned https://github.com/miamisunset/OrderedJSON.git
Revision (git rev-parse @):
01394e5c87868ee5869cc1c2a9e2c36055dbb1b9
SUCCESS checkout https://github.com/miamisunset/OrderedJSON.git at v3.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/miamisunset/OrderedJSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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/apple/swift-collections.git
[1/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.57s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Building for debugging...
[Pre-planning 1 / 154]
[Constructing 1 / 320]
[36 / 59] InternalCollectionsUtilities
[45 / 67] InternalCollectionsUtilities
[55 / 77] OrderedCollections
[58 / 77] OrderedCollections
[61 / 78] InternalCollectionsUtilities
[63 / 78] OrderedCollections
[63 / 79] OrderedCollections
[81 / 89] OrderedJSON
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONSchemaFormat.swift
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:185:16: [1;31merror: [1;39mcannot find 'sockaddr_in' in scope[0;0m
[0;36m183 |[0;0m /// IPv4 address using inet_pton (standard POSIX API).
[0;36m184 |[0;0m private static func validateIPv4(_ value: String) -> Bool {
[0;36m185 |[0;0m var addr = [4;39msockaddr_in[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'sockaddr_in' in scope[0;0m
[0;36m186 |[0;0m return value.withCString { ptr in
[0;36m187 |[0;0m inet_pton(AF_INET, ptr, &addr.sin_addr) == 1
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:187:7: [1;31merror: [1;39mcannot find 'inet_pton' in scope[0;0m
[0;36m185 |[0;0m var addr = sockaddr_in()
[0;36m186 |[0;0m return value.withCString { ptr in
[0;36m187 |[0;0m [4;39minet_pton[0;0m(AF_INET, ptr, &addr.sin_addr) == 1
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'inet_pton' in scope[0;0m
[0;36m188 |[0;0m }
[0;36m189 |[0;0m }
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:187:17: [1;31merror: [1;39mcannot find 'AF_INET' in scope[0;0m
[0;36m185 |[0;0m var addr = sockaddr_in()
[0;36m186 |[0;0m return value.withCString { ptr in
[0;36m187 |[0;0m inet_pton([4;39mAF_INET[0;0m, ptr, &addr.sin_addr) == 1
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'AF_INET' in scope[0;0m
[0;36m188 |[0;0m }
[0;36m189 |[0;0m }
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:193:16: [1;31merror: [1;39mcannot find 'sockaddr_in6' in scope[0;0m
[0;36m191 |[0;0m /// IPv6 address using inet_pton (standard POSIX API).
[0;36m192 |[0;0m private static func validateIPv6(_ value: String) -> Bool {
[0;36m193 |[0;0m var addr = [4;39msockaddr_in6[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'sockaddr_in6' in scope[0;0m
[0;36m194 |[0;0m return value.withCString { ptr in
[0;36m195 |[0;0m inet_pton(AF_INET6, ptr, &addr.sin6_addr) == 1
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:195:7: [1;31merror: [1;39mcannot find 'inet_pton' in scope[0;0m
[0;36m193 |[0;0m var addr = sockaddr_in6()
[0;36m194 |[0;0m return value.withCString { ptr in
[0;36m195 |[0;0m [4;39minet_pton[0;0m(AF_INET6, ptr, &addr.sin6_addr) == 1
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'inet_pton' in scope[0;0m
[0;36m196 |[0;0m }
[0;36m197 |[0;0m }
/host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift:195:17: [1;31merror: [1;39mcannot find 'AF_INET6' in scope[0;0m
[0;36m193 |[0;0m var addr = sockaddr_in6()
[0;36m194 |[0;0m return value.withCString { ptr in
[0;36m195 |[0;0m inet_pton([4;39mAF_INET6[0;0m, ptr, &addr.sin6_addr) == 1
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'AF_INET6' in scope[0;0m
[0;36m196 |[0;0m }
[0;36m197 |[0;0m }
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/Sources/OrderedJSON/Access/JSON+Access.swift /host/spi-builder-workspace/Sources/OrderedJSON/Access/JSON+Lookup.swift /host/spi-builder-workspace/Sources/OrderedJSON/Access/JSON+Subscript.swift /host/spi-builder-workspace/Sources/OrderedJSON/Binary/JSONBJData.swift /host/spi-builder-workspace/Sources/OrderedJSON/Binary/JSONBSON.swift /host/spi-builder-workspace/Sources/OrderedJSON/Binary/JSONCBOR.swift /host/spi-builder-workspace/Sources/OrderedJSON/Binary/JSONMsgPack.swift /host/spi-builder-workspace/Sources/OrderedJSON/Binary/JSONUBJSON.swift /host/spi-builder-workspace/Sources/OrderedJSON/Builder/JSON+ArrayBuilder.swift /host/spi-builder-workspace/Sources/OrderedJSON/Builder/JSON+ObjectBuilder.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSON+Decode.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSON+Encode.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSONCodable.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSONCodingKey.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSONWithUnknownKeys+Decodable.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/JSONWithUnknownKeys.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONDecoder+KeyedContainer.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONDecoder+SingleValue.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONDecoder+UnkeyedContainer.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONDecoder.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONEncoder+SingleValue.swift /host/spi-builder-workspace/Sources/OrderedJSON/Codable/OrderedJSONEncoder.swift /host/spi-builder-workspace/Sources/OrderedJSON/Core/JSON+Accessors.swift /host/spi-builder-workspace/Sources/OrderedJSON/Core/JSON.swift /host/spi-builder-workspace/Sources/OrderedJSON/Core/JSONError.swift /host/spi-builder-workspace/Sources/OrderedJSON/Core/JSONNumber.swift /host/spi-builder-workspace/Sources/OrderedJSON/Flatten/JSON+Flatten.swift /host/spi-builder-workspace/Sources/OrderedJSON/Flatten/JSON+Pointer.swift /host/spi-builder-workspace/Sources/OrderedJSON/Modifiers/JSON+Modifiers.swift /host/spi-builder-workspace/Sources/OrderedJSON/Operators/JSON+Comparison.swift /host/spi-builder-workspace/Sources/OrderedJSON/Operators/JSON+Sequence.swift /host/spi-builder-workspace/Sources/OrderedJSON/Parsing/JSONParser.swift /host/spi-builder-workspace/Sources/OrderedJSON/Parsing/JSONSerializer.swift /host/spi-builder-workspace/Sources/OrderedJSON/Parsing/ParseCursor.swift /host/spi-builder-workspace/Sources/OrderedJSON/Parsing/UnicodeScalarHex.swift /host/spi-builder-workspace/Sources/OrderedJSON/Patch/JSON+MergePatch.swift /host/spi-builder-workspace/Sources/OrderedJSON/Patch/JSON+Patch.swift /host/spi-builder-workspace/Sources/OrderedJSON/SAX/JSONSAX.swift /host/spi-builder-workspace/Sources/OrderedJSON/SAX/JSONSAXEventHandler.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Array.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Compilation.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Composition.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Draft.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Draft202012.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Draft7.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Equality.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Numeric.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Object.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Properties.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Ref.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Shared.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+String.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Type.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+URI.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Unevaluated.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema+Validation.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchema.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaContext.swift /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaError.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormat.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaFormatOptions.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaGeneration.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaOutput.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaPatterns.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaRefCache.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaRegex.swift -primary-file /host/spi-builder-workspace/Sources/OrderedJSON/Schema/JSONSchemaResult.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/supplementaryOutputs-24 -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OrderedJSON -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/OrderedJSON_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/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaFormat.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaFormatOptions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaGeneration.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaOutput.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaPatterns.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaRefCache.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaRegex.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaResult.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaFormat.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaFormatOptions.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaGeneration.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaOutput.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaPatterns.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaRefCache.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaRegex.o -index-unit-output-path /OrderedJSON.build/Debug-android-aarch64/OrderedJSON-t.build/Objects-normal/aarch64/JSONSchemaResult.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android