Build Information
Failed to build Validator, reference main (ee9f1d), with Swift 6.2 for Android on 2 May 2026 13:15:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/validator.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/space-code/validator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ee9f1d0 chore(deps): update jdx/mise-action action to v4 (#124)
Cloned https://github.com/space-code/validator.git
Revision (git rev-parse @):
ee9f1d0e83eec0881578fe14cd07178e299a6253
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/space-code/validator.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/space-code/validator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/29] Emitting module ValidatorCore
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | /// Returns the string itself as the error message.
25 | public var message: String {
[5/32] Compiling ValidatorCore UUIDValidationRule.swift
[6/32] Compiling ValidatorCore IValidator.swift
[7/32] Compiling ValidatorCore Validator.swift
[8/32] Compiling ValidatorCore NilValidationRule.swift
[9/32] Compiling ValidatorCore NoWhitespaceValidationRule.swift
[10/32] Compiling ValidatorCore NonEmptyValidationRule.swift
[11/32] Compiling ValidatorCore PositiveNumberValidationRule.swift
[12/32] Compiling ValidatorCore PostalCodeValidationRule.swift
[13/32] Compiling ValidatorCore PrefixValidationRule.swift
[14/32] Compiling ValidatorCore IBANValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:120:20: error: cannot find 'sockaddr_in6' in scope
118 | }
119 |
120 | var addr = sockaddr_in6()
| `- error: cannot find 'sockaddr_in6' in scope
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:13: error: cannot find 'inet_pton' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'inet_pton' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:23: error: cannot find 'AF_INET6' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'AF_INET6' in scope
123 | }
124 | }
[15/32] Compiling ValidatorCore IPAddressValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:120:20: error: cannot find 'sockaddr_in6' in scope
118 | }
119 |
120 | var addr = sockaddr_in6()
| `- error: cannot find 'sockaddr_in6' in scope
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:13: error: cannot find 'inet_pton' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'inet_pton' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:23: error: cannot find 'AF_INET6' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'AF_INET6' in scope
123 | }
124 | }
[16/32] Compiling ValidatorCore JSONValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:120:20: error: cannot find 'sockaddr_in6' in scope
118 | }
119 |
120 | var addr = sockaddr_in6()
| `- error: cannot find 'sockaddr_in6' in scope
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:13: error: cannot find 'inet_pton' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'inet_pton' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:23: error: cannot find 'AF_INET6' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'AF_INET6' in scope
123 | }
124 | }
[17/32] Compiling ValidatorCore LengthValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:120:20: error: cannot find 'sockaddr_in6' in scope
118 | }
119 |
120 | var addr = sockaddr_in6()
| `- error: cannot find 'sockaddr_in6' in scope
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:13: error: cannot find 'inet_pton' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'inet_pton' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/IPAddressValidationRule.swift:122:23: error: cannot find 'AF_INET6' in scope
120 | var addr = sockaddr_in6()
121 | return input.withCString { cString in
122 | inet_pton(AF_INET6, cString, &addr.sin6_addr) == 1
| `- error: cannot find 'AF_INET6' in scope
123 | }
124 | }
[18/32] Compiling ValidatorCore IValidationError.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | /// Returns the string itself as the error message.
25 | public var message: String {
[19/32] Compiling ValidatorCore IValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | /// Returns the string itself as the error message.
25 | public var message: String {
[20/32] Compiling ValidatorCore ValidationResult.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | /// Returns the string itself as the error message.
25 | public var message: String {
[21/32] Compiling ValidatorCore String+IValidationError.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Extensions/String+IValidationError.swift:23:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
21 | /// print(error.message) // "Invalid input"
22 | /// ```
23 | extension String: IValidationError {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'LocalizedError'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
24 | /// Returns the string itself as the error message.
25 | public var message: String {
[22/32] Compiling ValidatorCore ValidationResult+Equatable.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
47 |
48 | let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 | let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
50 | return predicate.evaluate(with: cleanedInput)
51 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
[23/32] Compiling ValidatorCore Base64ValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
47 |
48 | let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 | let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
50 | return predicate.evaluate(with: cleanedInput)
51 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
[24/32] Compiling ValidatorCore CharactersValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
47 |
48 | let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 | let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
50 | return predicate.evaluate(with: cleanedInput)
51 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
[25/32] Compiling ValidatorCore ComparisonValidationRule.swift
/host/spi-builder-workspace/Sources/ValidatorCore/Classes/Rules/Base64ValidationRule.swift:49:25: error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
47 |
48 | let base64Pattern = "^[A-Za-z0-9+/]*={0,2}$"
49 | let predicate = NSPredicate(format: "SELF MATCHES %@", base64Pattern)
| `- error: 'init(format:_:)' has been renamed to 'init(block:)': Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.
50 | return predicate.evaluate(with: cleanedInput)
51 | }
Foundation.NSPredicate.init:3:22: note: 'init(format:_:)' has been explicitly marked unavailable here
1 | class NSPredicate {
2 | @available(*, unavailable, renamed: "init(block:)", message: "Predicate strings and key-value coding are not supported in swift-corelibs-foundation. Use a closure instead if possible.")
3 | public convenience init(format predicateFormat: String, _ args: any CVarArg...)}
| `- note: 'init(format:_:)' has been explicitly marked unavailable here
4 |
[26/32] Compiling ValidatorCore ContainsValidationRule.swift
[27/32] Compiling ValidatorCore CreditCardValidationRule.swift
[28/32] Compiling ValidatorCore EmailValidationRule.swift
[29/32] Compiling ValidatorCore EqualityValidationRule.swift
[30/32] Compiling ValidatorCore RegexValidationRule.swift
[31/32] Compiling ValidatorCore SuffixValidationRule.swift
[32/32] Compiling ValidatorCore URLValidationRule.swift
BUILD FAILURE 6.2 android