The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DynamicJSON, reference 1.0.2 (9648f3), with Swift 6.2 (beta) for Android on 23 Jun 2025 16:51:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/objecthub/swift-dynamicjson.git
Reference: 1.0.2
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
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 9648f32 Update CHANGELOG.
Cloned https://github.com/objecthub/swift-dynamicjson.git
Revision (git rev-parse @):
9648f32126ade414b00b9551c27870d4ad9b168c
SUCCESS checkout https://github.com/objecthub/swift-dynamicjson.git at 1.0.2
========================================
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-4606859-2":/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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/32] Emitting module DynamicJSON
[5/35] Compiling DynamicJSON JSONSchemaIdentifier.swift
[6/35] Compiling DynamicJSON JSONSchemaProvider.swift
[7/35] Compiling DynamicJSON JSONSchemaRegistry.swift
[8/35] Compiling DynamicJSON Indirect.swift
[9/35] Compiling DynamicJSON JSONExtensions.swift
[10/35] Compiling DynamicJSON NSNumber.swift
[11/35] Compiling DynamicJSON JSONSchemaDialect.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:222:16: error: cannot find 'sockaddr_in6' in scope
220 |
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
224 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:41: error: cannot find 'inet_pton' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
224 |   }
225 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:51: error: cannot find 'AF_INET6' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
224 |   }
225 |
[12/35] Compiling DynamicJSON JSONSchemaDraft2020.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:222:16: error: cannot find 'sockaddr_in6' in scope
220 |
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
224 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:41: error: cannot find 'inet_pton' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
224 |   }
225 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:51: error: cannot find 'AF_INET6' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
224 |   }
225 |
[13/35] Compiling DynamicJSON JSONSchemaFormatValidators.swift
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:222:16: error: cannot find 'sockaddr_in6' in scope
220 |
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
    |                `- error: cannot find 'sockaddr_in6' in scope
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
224 |   }
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:41: error: cannot find 'inet_pton' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                         `- error: cannot find 'inet_pton' in scope
224 |   }
225 |
/host/spi-builder-workspace/Sources/DynamicJSON/JSONSchema/JSONSchemaFormatValidators.swift:223:51: error: cannot find 'AF_INET6' in scope
221 |   public static func isIPV6(_ str: String) -> Bool {
222 |     var sin6 = sockaddr_in6()
223 |     return str.withCString({ cstring in inet_pton(AF_INET6, cstring, &sin6.sin6_addr) }) == 1
    |                                                   `- error: cannot find 'AF_INET6' in scope
224 |   }
225 |
[14/35] Compiling DynamicJSON JSONSchemaValidator.swift
[15/35] Compiling DynamicJSON JSONType.swift
[16/35] Compiling DynamicJSON LocatedJSON.swift
[17/35] Compiling DynamicJSON JSONSchemaResource.swift
[18/35] Compiling DynamicJSON JSONSchemaValidationContext.swift
[19/35] Compiling DynamicJSON JSONSchemaValidationResult.swift
[20/35] Compiling DynamicJSON JSONPathParser.swift
[21/35] Compiling DynamicJSON JSONPointer.swift
[22/35] Compiling DynamicJSON JSONReference.swift
[23/35] Compiling DynamicJSON JSONSchema.swift
[24/35] Compiling DynamicJSON JSONPatchOperation.swift
[25/35] Compiling DynamicJSON JSONPath.swift
[26/35] Compiling DynamicJSON JSONPathEnvironment.swift
[27/35] Compiling DynamicJSON JSONPathEvaluator.swift
[28/35] Compiling DynamicJSON JSON.swift
[29/35] Compiling DynamicJSON JSONLocation.swift
[30/35] Compiling DynamicJSON JSONPatch.swift
[31/35] Compiling DynamicJSON JSONPatchMaker.swift
BUILD FAILURE 6.2 android