Build Information
Failed to build CleevioValidators, reference master (c94d39), with Swift 6.3 for Wasm on 17 Apr 2026 06:38:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build 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: wasm
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-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Emitting module CleevioValidators
[4/10] Compiling CleevioValidators ValidatorType.swift
[5/10] Compiling CleevioValidators NonNilValidator.swift
[6/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 |
[7/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)
[8/10] Compiling CleevioValidators MinimumCharactersValidator.swift
[9/10] Compiling CleevioValidators BoolValidator.swift
[10/10] Compiling CleevioValidators MinimumCollectionCountValidator.swift
BUILD FAILURE 6.3 wasm