The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DynamicJSON, reference main (2ff3fe), with Swift 6.2 for Android on 9 Oct 2026 13:48:11 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-dynamicjson.git
Reference: main
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/objecthub/swift-dynamicjson
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2ff3fe1 Fix docc.
Cloned https://github.com/objecthub/swift-dynamicjson.git
Revision (git rev-parse @):
2ff3fe1e3e86d1c32367170db0647b97f95e2a36
SUCCESS checkout https://github.com/objecthub/swift-dynamicjson.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/objecthub/swift-dynamicjson.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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:a839c9ce201f1dacc8eb056626ec7ab0a1c6d53d7b77c83feda395f4507c51be
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version--11D90AFD9DD3AB2.txt
[5/47] Emitting module DynamicJSON
[6/51] Compiling DynamicJSON LocatedJSON.swift
[7/51] Compiling DynamicJSON Indirect.swift
[8/51] Compiling DynamicJSON JSONExtensions.swift
[9/51] Compiling DynamicJSON NSNumber.swift
[10/51] Compiling DynamicJSON JSONPathParser.swift
[11/51] Compiling DynamicJSON JSONPointer.swift
[12/51] Compiling DynamicJSON JSONReference.swift
[13/51] Compiling DynamicJSON JSONSchema.swift
[14/51] Compiling DynamicJSON JSONSchemaDialect.swift
[15/51] Compiling DynamicJSON JSONSchemaDraft2020.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:237:16: error: cannot find 'sockaddr_in6' in scope
235 |   /// Returns true if `str` is a valid IPv6 address.
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
239 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:41: error: cannot find 'inet_pton' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
239 |   }
240 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:51: error: cannot find 'AF_INET6' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
239 |   }
240 |
[16/51] Compiling DynamicJSON JSONSchemaFormatValidators.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:237:16: error: cannot find 'sockaddr_in6' in scope
235 |   /// Returns true if `str` is a valid IPv6 address.
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
239 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:41: error: cannot find 'inet_pton' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
239 |   }
240 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:51: error: cannot find 'AF_INET6' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
239 |   }
240 |
[17/51] Compiling DynamicJSON JSONSchemaIdentifier.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:237:16: error: cannot find 'sockaddr_in6' in scope
235 |   /// Returns true if `str` is a valid IPv6 address.
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
239 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:41: error: cannot find 'inet_pton' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
239 |   }
240 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:51: error: cannot find 'AF_INET6' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
239 |   }
240 |
[18/51] Compiling DynamicJSON JSONSchemaProvider.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:237:16: error: cannot find 'sockaddr_in6' in scope
235 |   /// Returns true if `str` is a valid IPv6 address.
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
239 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:41: error: cannot find 'inet_pton' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
239 |   }
240 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:51: error: cannot find 'AF_INET6' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
239 |   }
240 |
[19/51] Compiling DynamicJSON JSONSchemaRegistry.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:237:16: error: cannot find 'sockaddr_in6' in scope
235 |   /// Returns true if `str` is a valid IPv6 address.
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
239 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:41: error: cannot find 'inet_pton' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
239 |   }
240 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:238:51: error: cannot find 'AF_INET6' in scope
236 |   public static func isIPV6(_ str: String) -> Bool {
237 |     var sin6 = sockaddr_in6()
238 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
239 |   }
240 |
[20/51] Compiling DynamicJSON JSON.swift
[21/51] Compiling DynamicJSON JSONExtraction.swift
[22/51] Compiling DynamicJSON JSONLenientParser.swift
[23/51] Compiling DynamicJSON JSONLocation.swift
[24/51] Compiling DynamicJSON JSONPatch.swift
[25/51] Compiling DynamicJSON JSON+Streaming.swift
[26/51] Compiling DynamicJSON JSONByteStream.swift
[27/51] Compiling DynamicJSON JSONPartialParser.swift
[28/51] Compiling DynamicJSON JSONStreamFormat.swift
[29/51] Compiling DynamicJSON JSONStreamFramer.swift
[30/51] Compiling DynamicJSON JSONSchemaResource.swift
[31/51] Compiling DynamicJSON JSONSchemaValidationContext.swift
[32/51] Compiling DynamicJSON JSONSchemaValidationResult.swift
[33/51] Compiling DynamicJSON JSONSchemaValidator.swift
[34/51] Compiling DynamicJSON JSON+StreamWriting.swift
[35/51] Compiling DynamicJSON JSONPatchMaker.swift
[36/51] Compiling DynamicJSON JSONPatchOperation.swift
[37/51] Compiling DynamicJSON JSONPath.swift
[38/51] Compiling DynamicJSON JSONPathEnvironment.swift
[39/51] Compiling DynamicJSON JSONPathEvaluator.swift
[40/51] Compiling DynamicJSON JSONStreamWriter.swift
[41/51] Compiling DynamicJSON JSONValueStream.swift
[42/51] Compiling DynamicJSON PartialJSONStream.swift
[43/51] Compiling DynamicJSON ServerSentEvents.swift
[44/51] Compiling DynamicJSON JSONType.swift
BUILD FAILURE 6.2 android