The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PresentationExchange, reference main (62290c), with Swift 6.1 for Android on 24 Oct 2025 14:53:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.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/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62290ca Merge pull request #37 from niscy-eudiw/infra/swift_coverage
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.git
Revision (git rev-parse @):
62290ca9ad5f43eda05742105c23c84420617729
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.git
https://github.com/eu-digital-identity-wallet/eudi-lib-ios-presentation-exchange-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "jsonschema.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/JSONSchema.swift"
    },
    {
      "identity" : "sextant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "0.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/KittyMac/Sextant.git"
    },
    {
      "identity" : "mockingbird",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.20.0",
            "upper_bound" : "0.21.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/birdrides/mockingbird.git"
    },
    {
      "identity" : "swiftyjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyJSON/SwiftyJSON.git"
    }
  ],
  "manifest_display_name" : "PresentationExchange",
  "name" : "PresentationExchange",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "PresentationExchange",
      "targets" : [
        "PresentationExchange"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PresentationExchangeTests",
      "module_type" : "SwiftTarget",
      "name" : "PresentationExchangeTests",
      "path" : "Tests",
      "product_dependencies" : [
        "Mockingbird",
        "JSONSchema",
        "Sextant",
        "SwiftyJSON"
      ],
      "sources" : [
        "CoreTests.swift",
        "EntitiesTests.swift",
        "ErrorTests.swift",
        "ExtensionsTests.swift",
        "JsonHelperTests.swift",
        "Mocks/PresentationExchangeMocks.generated.swift",
        "PresentationTests.swift",
        "TestsConstants.swift"
      ],
      "target_dependencies" : [
        "PresentationExchange"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PresentationExchange",
      "module_type" : "SwiftTarget",
      "name" : "PresentationExchange",
      "path" : "Sources",
      "product_dependencies" : [
        "Sextant",
        "JSONSchema",
        "SwiftyJSON"
      ],
      "product_memberships" : [
        "PresentationExchange"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Authorizations/valid_authorizaton_data_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/VC_expiration_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/VC_revocation_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/basic_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/fi.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/format_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/input_descriptor_id_tokens_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/input_descriptors_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/mdl_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/minimal_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/multi_group_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/pd_filter.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/pd_filter2.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PresentationDefinitions-2.0.0/single_group_example.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/input-descriptor.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/presentation-definition-envelope.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/presentation-definition.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/presentation-submission.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/submission-requirement.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/Schemas-2.0.0/submission-requirements.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Claim/Claim.swift",
        "Claim/ClaimFormat.swift",
        "Matching/CandidateField.swift",
        "Matching/InputDescriptorEvaluation.swift",
        "Matching/Match.swift",
        "Matching/Matcher.swift",
        "Parsers/Parser.swift",
        "PresentationDefinition/Constraints.swift",
        "PresentationDefinition/Field.swift",
        "PresentationDefinition/Format.swift",
        "PresentationDefinition/InputDescriptor.swift",
        "PresentationDefinition/PresentationAliases.swift",
        "PresentationDefinition/PresentationDefinition.swift",
        "PresentationDefinition/PresentationDefinitionSource.swift",
        "PresentationDefinition/PresentationError.swift",
        "PresentationDefinition/Rule.swift",
        "PresentationDefinition/SubmissionRequirement.swift",
        "PresentationSubmission/DescriptorMap.swift",
        "PresentationSubmission/PresentationSubmission.swift",
        "Support/Collection+Extensions.swift",
        "Support/Dictionary+Extensions.swift",
        "Support/DictionaryEncoder.swift",
        "Support/Encodable+Extensions.swift",
        "Support/JSONCodingKeys.swift",
        "Support/JSONParseError.swift",
        "Support/Sequence+Extension.swift",
        "Support/String+Extensions.swift",
        "Support/URL+Extensions.swift",
        "Utilities/Constants.swift",
        "Utilities/JsonHelper.swift",
        "VPToken/VPToken.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/kylef/JSONSchema.swift
Fetching https://github.com/KittyMac/Sextant.git
Fetching https://github.com/birdrides/mockingbird.git
[1/2310] Fetching jsonschema.swift
[117/4737] Fetching jsonschema.swift, sextant
[1025/15558] Fetching jsonschema.swift, sextant, mockingbird
[3228/21771] Fetching jsonschema.swift, sextant, mockingbird, swiftyjson
Fetched https://github.com/kylef/JSONSchema.swift from cache (0.79s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.80s)
[3259/13248] Fetching sextant, mockingbird
Fetched https://github.com/KittyMac/Sextant.git from cache (3.28s)
Fetched https://github.com/birdrides/mockingbird.git from cache (3.33s)
Computing version for https://github.com/birdrides/mockingbird.git
Computed https://github.com/birdrides/mockingbird.git at 0.20.0 (5.62s)
Computing version for https://github.com/kylef/JSONSchema.swift
Computed https://github.com/kylef/JSONSchema.swift at 0.6.0 (2.45s)
Fetching https://github.com/kylef/PathKit.git
[1/1438] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.90s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.58s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.87s)
Computing version for https://github.com/KittyMac/Sextant.git
Computed https://github.com/KittyMac/Sextant.git at 0.4.38 (0.71s)
Fetching https://github.com/KittyMac/Spanker.git
Fetching https://github.com/KittyMac/Chronometer.git
Fetching https://github.com/KittyMac/Hitch.git
[1/1008] Fetching spanker
[344/3507] Fetching spanker, hitch
[1119/3702] Fetching spanker, hitch, chronometer
Fetched https://github.com/KittyMac/Hitch.git from cache (0.66s)
Fetched https://github.com/KittyMac/Chronometer.git from cache (0.66s)
Fetched https://github.com/KittyMac/Spanker.git from cache (0.66s)
Computing version for https://github.com/KittyMac/Chronometer.git
Computed https://github.com/KittyMac/Chronometer.git at 0.1.14 (1.34s)
Computing version for https://github.com/KittyMac/Spanker.git
Computed https://github.com/KittyMac/Spanker.git at 0.2.53 (0.65s)
Computing version for https://github.com/KittyMac/Hitch.git
Computed https://github.com/KittyMac/Hitch.git at 0.4.151 (0.63s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/KittyMac/Sextant.git
Working copy of https://github.com/KittyMac/Sextant.git resolved at 0.4.38
Creating working copy for https://github.com/KittyMac/Spanker.git
Working copy of https://github.com/KittyMac/Spanker.git resolved at 0.2.53
Creating working copy for https://github.com/KittyMac/Hitch.git
Working copy of https://github.com/KittyMac/Hitch.git resolved at 0.4.151
Creating working copy for https://github.com/birdrides/mockingbird.git
Working copy of https://github.com/birdrides/mockingbird.git resolved at 0.20.0
Creating working copy for https://github.com/kylef/JSONSchema.swift
Working copy of https://github.com/kylef/JSONSchema.swift resolved at 0.6.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/KittyMac/Chronometer.git
Working copy of https://github.com/KittyMac/Chronometer.git resolved at 0.1.14
Building for debugging...
[0/29] Write sources
[0/29] Copying valid_authorizaton_data_example.json
[0/29] Copying VC_expiration_example.json
[0/29] Copying input_descriptor_id_tokens_example.json
[0/29] Copying fi.json
[0/29] Copying VC_revocation_example.json
[0/29] Copying basic_example.json
[0/29] Copying minimal_example.json
[0/29] Copying mdl_example.json
[0/29] Copying input_descriptors_example.json
[0/29] Copying format_example.json
[13/29] Copying pd_filter.json
[15/29] Copying multi_group_example.json
[15/29] Copying PrivacyInfo.xcprivacy
[15/29] Copying submission-requirement.json
[17/29] Copying single_group_example.json
[18/29] Copying presentation-submission.json
[20/29] Write sources
[23/29] Copying presentation-definition.json
[24/29] Copying presentation-definition-envelope.json
[25/29] Copying pd_filter2.json
[25/29] Copying submission-requirements.json
[25/29] Copying input-descriptor.json
[28/29] Write swift-version-24593BA9C3E375BF.txt
[30/81] Compiling JSONSchema dependencies.swift
[31/81] Compiling JSONSchema dependentSchemas.swift
[32/81] Compiling JSONSchema if.swift
[33/81] Compiling JSONSchema items.swift
[34/81] Compiling JSONSchema not.swift
[35/85] Compiling Hitch Int8+Ascii.swift
[36/85] Compiling SwiftyJSON resource_bundle_accessor.swift
[37/86] Compiling JSONSchema enum.swift
[38/86] Compiling JSONSchema minMaxItems.swift
[39/86] Compiling JSONSchema minMaxLength.swift
[40/86] Compiling JSONSchema minMaxNumber.swift
[41/86] Compiling JSONSchema minMaxProperties.swift
[42/86] Compiling JSONSchema multipleOf.swift
[43/86] Compiling JSONSchema pattern.swift
[44/86] Compiling JSONSchema required.swift
[45/86] Compiling JSONSchema uniqueItems.swift
[46/86] Compiling Chronometer Chronometer.swift
[47/86] Emitting module Chronometer
[48/86] Compiling Hitch Hitch.swift
[49/86] Compiling JSONSchema Draft201909Validator.swift
[50/86] Compiling JSONSchema Draft202012Validator.swift
[51/86] Compiling JSONSchema Draft4Validator.swift
[52/86] Compiling JSONSchema Draft6Validator.swift
[53/86] Compiling JSONSchema Draft7Validator.swift
[54/86] Compiling JSONSchema JSONPointer.swift
[55/86] Compiling JSONSchema JSONSchema.swift
[56/86] Compiling JSONSchema RefResolver.swift
[57/86] Compiling JSONSchema const.swift
[58/86] Compiling JSONSchema dependentRequired.swift
[59/87] Compiling JSONSchema oneOf.swift
[60/87] Compiling JSONSchema patternProperties.swift
[61/87] Compiling JSONSchema properties.swift
[62/87] Compiling JSONSchema propertyNames.swift
[63/87] Compiling JSONSchema ref.swift
[64/87] Compiling JSONSchema ValidationResult.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[65/87] Compiling JSONSchema Validator.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[66/87] Compiling JSONSchema Validators.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[67/87] Compiling JSONSchema format.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[68/87] Compiling JSONSchema additionalItems.swift
[69/87] Compiling JSONSchema additionalProperties.swift
[70/87] Compiling JSONSchema allOf.swift
[71/87] Compiling JSONSchema anyOf.swift
[72/87] Compiling JSONSchema contains.swift
[73/87] Emitting module JSONSchema
[74/87] Emitting module Hitch
[81/87] Compiling Hitch Hitch+Shared.swift
[82/87] Emitting module SwiftyJSON
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/53] Compiling SwiftyJSON resource_bundle_accessor.swift
[3/53] Compiling Hitch Int8+Ascii.swift
[4/54] Emitting module JSONSchema
[5/58] Compiling JSONSchema oneOf.swift
[6/58] Compiling JSONSchema patternProperties.swift
[7/58] Compiling JSONSchema properties.swift
[8/58] Compiling JSONSchema propertyNames.swift
[9/58] Compiling JSONSchema ref.swift
[10/58] Compiling Chronometer Chronometer.swift
[11/58] Emitting module Chronometer
[13/59] Compiling JSONSchema dependencies.swift
[14/59] Compiling JSONSchema dependentSchemas.swift
[15/59] Compiling JSONSchema if.swift
[16/59] Compiling JSONSchema items.swift
[17/59] Compiling JSONSchema not.swift
[18/59] Compiling Hitch UInt8+Ascii.swift
[19/59] Emitting module SwiftyJSON
[20/59] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
[21/59] Compiling JSONSchema ValidationResult.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[22/59] Compiling JSONSchema Validator.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[23/59] Compiling JSONSchema Validators.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[24/59] Compiling JSONSchema format.swift
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/Validators.swift:60:79: error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 58 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && NSNumber(value: number.intValue) == number
 59 | #else
 60 |   return CFGetTypeID(number) != CFBooleanGetTypeID() && (!CFNumberIsFloatType(number) || NSNumber(value: number.intValue) == number)
    |                                                                               `- error: cannot convert value of type 'NSNumber' to expected argument type 'CFNumber'
 61 | #endif
 62 | }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:52:67: error: cannot find 'INET6_ADDRSTRLEN' in scope
 50 |   if let ipv6 = value as? String {
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
    |                                                                   `- error: cannot find 'INET6_ADDRSTRLEN' in scope
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
 54 |         return AnySequence(EmptyCollection())
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:10: error: cannot find 'inet_pton' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |          `- error: cannot find 'inet_pton' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
/host/spi-builder-workspace/.build/checkouts/JSONSchema.swift/Sources/format.swift:53:20: error: cannot find 'AF_INET6' in scope
 51 |     if !ipv6.contains("%") {
 52 |       var buf = UnsafeMutablePointer<Int8>.allocate(capacity: Int(INET6_ADDRSTRLEN))
 53 |       if inet_pton(AF_INET6, ipv6, &buf) == 1 {
    |                    `- error: cannot find 'AF_INET6' in scope
 54 |         return AnySequence(EmptyCollection())
 55 |       }
[31/59] Emitting module Hitch
[32/59] Compiling JSONSchema multipleOf.swift
[33/59] Compiling JSONSchema pattern.swift
[34/59] Compiling JSONSchema required.swift
[35/59] Compiling JSONSchema uniqueItems.swift
[36/59] Compiling JSONSchema additionalItems.swift
[37/59] Compiling JSONSchema additionalProperties.swift
[38/59] Compiling JSONSchema allOf.swift
[39/59] Compiling JSONSchema anyOf.swift
[40/59] Compiling JSONSchema contains.swift
[41/59] Compiling JSONSchema enum.swift
[42/59] Compiling JSONSchema minMaxItems.swift
[43/59] Compiling JSONSchema minMaxLength.swift
[44/59] Compiling JSONSchema minMaxNumber.swift
[45/59] Compiling JSONSchema minMaxProperties.swift
[46/59] Compiling JSONSchema JSONPointer.swift
[47/59] Compiling JSONSchema JSONSchema.swift
[48/59] Compiling JSONSchema RefResolver.swift
[49/59] Compiling JSONSchema const.swift
[50/59] Compiling JSONSchema dependentRequired.swift
BUILD FAILURE 6.1 android