Build Information
Failed to build CleevioValidators, reference 0.3.0 (b651f0), with Swift 6.1 for Linux on 16 Oct 2025 13:19:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/cleevio/CleevioValidators.git
https://github.com/cleevio/CleevioValidators.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "CleevioValidators",
"name" : "CleevioValidators",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CleevioValidators",
"targets" : [
"CleevioValidators"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CleevioValidatorsTests",
"module_type" : "SwiftTarget",
"name" : "CleevioValidatorsTests",
"path" : "Tests/CleevioValidatorsTests",
"sources" : [
"BoolValidatorTests.swift",
"EmailFormatValidatorTests.swift",
"MinimumCharactersValidatorTests.swift",
"MinimumCollectionCountValidatorTests.swift",
"NonNilValidatorTests.swift",
"ValidatorTests.swift"
],
"target_dependencies" : [
"CleevioValidators"
],
"type" : "test"
},
{
"c99name" : "CleevioValidators",
"module_type" : "SwiftTarget",
"name" : "CleevioValidators",
"path" : "Sources/CleevioValidators",
"product_memberships" : [
"CleevioValidators"
],
"sources" : [
"ValidatorType.swift",
"Validators/BoolValidator.swift",
"Validators/EmailFormatValidator.swift",
"Validators/MinimumCharactersValidator.swift",
"Validators/MinimumCollectionCountValidator.swift",
"Validators/NonNilValidator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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)
[4/9] Compiling CleevioValidators MinimumCharactersValidator.swift
[5/9] Compiling CleevioValidators MinimumCollectionCountValidator.swift
[6/9] Compiling CleevioValidators NonNilValidator.swift
[7/9] Compiling CleevioValidators ValidatorType.swift
[8/9] Compiling CleevioValidators BoolValidator.swift
[9/9] Emitting module CleevioValidators
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling CleevioValidators NonNilValidator.swift
[3/8] Compiling CleevioValidators MinimumCollectionCountValidator.swift
[4/8] Compiling CleevioValidators ValidatorType.swift
[5/8] Emitting module CleevioValidators
[6/8] Compiling CleevioValidators MinimumCharactersValidator.swift
[7/8] Compiling CleevioValidators BoolValidator.swift
[8/8] 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.1 linux