The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleevioValidators, reference master (c94d39), with Swift 6.3 for Android on 17 Apr 2026 06:38:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cleevio/CleevioValidators.git
Reference: master
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/cleevio/CleevioValidators
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c94d390 Merge pull request #1 from cleevio/swift6mode
Cloned https://github.com/cleevio/CleevioValidators.git
Revision (git rev-parse @):
c94d390d74b1dcae3116212553b3c3b54f837ebb
SUCCESS checkout https://github.com/cleevio/CleevioValidators.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cleevio/CleevioValidators.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/10] Compiling CleevioValidators ZIPCodeFormatValidator.swift
/host/spi-builder-workspace/Sources/CleevioValidators/Validators/ZIPCodeFormatValidator.swift:44:28: 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.
42 |         // Covers formats like: "12345", "12345-6789", "SW1A 1AA", "75008", "100-0001", etc.
43 |         let zipRegex = #"^[A-Za-z0-9\s\-]{3,12}$"#
44 |         let zipPredicate = NSPredicate(format: "SELF MATCHES %@", zipRegex)
   |                            `- 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.
45 |         return zipPredicate.evaluate(with: zipCode) ? nil : .incorrectFormat
46 |     }
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 |
[4/10] Compiling CleevioValidators BoolValidator.swift
[5/10] Compiling CleevioValidators EmailFormatValidator.swift
/host/spi-builder-workspace/Sources/CleevioValidators/Validators/EmailFormatValidator.swift:36:29: error: cannot find 'NSDataDetector' in scope
34 |         guard !email.contains("..") else { return .incorrectFormat }
35 |
36 |         let detector = try! NSDataDetector(types: NSTextCheckingResult.CheckingType.link.rawValue)
   |                             `- error: cannot find 'NSDataDetector' in scope
37 |         let range = NSRange(location: 0, length: email.utf16.count)
38 |         let matches = detector.matches(in: email, options: [], range: range)
[6/10] Emitting module CleevioValidators
[7/10] Compiling CleevioValidators ValidatorType.swift
[8/10] Compiling CleevioValidators NonNilValidator.swift
[9/10] Compiling CleevioValidators MinimumCollectionCountValidator.swift
[10/10] Compiling CleevioValidators MinimumCharactersValidator.swift
BUILD FAILURE 6.3 android