The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleevioValidators, reference 0.3.0 (b651f0), with Swift 6.2 for Android on 16 Oct 2025 13:18:46 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cleevio/CleevioValidators.git
Reference: 0.3.0
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
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at b651f0c OpenSource README
Cloned https://github.com/cleevio/CleevioValidators.git
Revision (git rev-parse @):
b651f0c5d8913558a6351e587ee6a6a96be68840
SUCCESS checkout https://github.com/cleevio/CleevioValidators.git at 0.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cleevio/CleevioValidators.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/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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/9] Compiling CleevioValidators NonNilValidator.swift
[4/9] Compiling CleevioValidators MinimumCollectionCountValidator.swift
[5/9] Compiling CleevioValidators MinimumCharactersValidator.swift
[6/9] Emitting module CleevioValidators
[7/9] Compiling CleevioValidators BoolValidator.swift
[8/9] Compiling CleevioValidators ValidatorType.swift
[9/9] 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)
BUILD FAILURE 6.2 android