The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ValidatorKit, reference v1.6.0 (41f361), with Swift 6.3 for Wasm on 20 Sep 2026 11:30:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alhiane/ValidatorKit.git
Reference: v1.6.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/Alhiane/ValidatorKit
 * tag               v1.6.0     -> FETCH_HEAD
HEAD is now at 41f3612 Merge pull request #50 from Alhiane/patch/uikit-test-fix-community-files-examples
Cloned https://github.com/Alhiane/ValidatorKit.git
Revision (git rev-parse @):
41f36125a2930352b5ca762743933f6a3fba0de4
SUCCESS checkout https://github.com/Alhiane/ValidatorKit.git at v1.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Alhiane/ValidatorKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/9] Copying Localizable.strings
[1/9] Copying Info.plist
[5/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/39] Emitting module ValidatorKit
[11/43] Compiling ValidatorKit InArrayRule.swift
[12/43] Compiling ValidatorKit LessThanRule.swift
[13/43] Compiling ValidatorKit MatchesFieldRule.swift
[14/43] Compiling ValidatorKit MaxRule.swift
[15/43] Compiling ValidatorKit ValidationRule.swift
[16/43] Compiling ValidatorKit ValidationSchema.swift
[17/43] Compiling ValidatorKit ValidatorKit.swift
[18/43] Compiling ValidatorKit resource_bundle_accessor.swift
[19/43] Compiling ValidatorKit PatternRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PatternRule.swift:19:44: 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.
17 |
18 |     public func validate(_ value: Any?) -> ValidationError? {
19 |         if let string = value as? String, !NSPredicate(format: "SELF MATCHES %@", pattern).evaluate(with: string) {
   |                                            `- 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.
20 |             return ValidationError(message: message)
21 |         }
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 |
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PhoneNumberRule.swift:39:30: 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.
37 |
38 |         let phoneRegex = "\\+?[0-9]{7,15}"
39 |         let phonePredicate = NSPredicate(format: "SELF MATCHES %@", phoneRegex)
   |                              `- 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.
40 |
41 |         guard phonePredicate.evaluate(with: stripped) else {
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 |
[20/43] Compiling ValidatorKit PhoneNumberRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PatternRule.swift:19:44: 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.
17 |
18 |     public func validate(_ value: Any?) -> ValidationError? {
19 |         if let string = value as? String, !NSPredicate(format: "SELF MATCHES %@", pattern).evaluate(with: string) {
   |                                            `- 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.
20 |             return ValidationError(message: message)
21 |         }
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 |
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PhoneNumberRule.swift:39:30: 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.
37 |
38 |         let phoneRegex = "\\+?[0-9]{7,15}"
39 |         let phonePredicate = NSPredicate(format: "SELF MATCHES %@", phoneRegex)
   |                              `- 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.
40 |
41 |         guard phonePredicate.evaluate(with: stripped) else {
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 |
[21/43] Compiling ValidatorKit RangeRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PatternRule.swift:19:44: 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.
17 |
18 |     public func validate(_ value: Any?) -> ValidationError? {
19 |         if let string = value as? String, !NSPredicate(format: "SELF MATCHES %@", pattern).evaluate(with: string) {
   |                                            `- 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.
20 |             return ValidationError(message: message)
21 |         }
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 |
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PhoneNumberRule.swift:39:30: 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.
37 |
38 |         let phoneRegex = "\\+?[0-9]{7,15}"
39 |         let phonePredicate = NSPredicate(format: "SELF MATCHES %@", phoneRegex)
   |                              `- 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.
40 |
41 |         guard phonePredicate.evaluate(with: stripped) else {
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 |
[22/43] Compiling ValidatorKit RequireIfRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PatternRule.swift:19:44: 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.
17 |
18 |     public func validate(_ value: Any?) -> ValidationError? {
19 |         if let string = value as? String, !NSPredicate(format: "SELF MATCHES %@", pattern).evaluate(with: string) {
   |                                            `- 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.
20 |             return ValidationError(message: message)
21 |         }
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 |
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/PhoneNumberRule.swift:39:30: 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.
37 |
38 |         let phoneRegex = "\\+?[0-9]{7,15}"
39 |         let phonePredicate = NSPredicate(format: "SELF MATCHES %@", phoneRegex)
   |                              `- 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.
40 |
41 |         guard phonePredicate.evaluate(with: stripped) else {
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/43] Compiling ValidatorKit MinRule.swift
[24/43] Compiling ValidatorKit NotCommonPasswordRule.swift
[25/43] Compiling ValidatorKit NumericRule.swift
[26/43] Compiling ValidatorKit PasswordStrengthRule.swift
[27/43] Compiling ValidatorKit DateAfterFieldRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/EmailRule.swift:24:30: 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.
22 |
23 |         let emailRegex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,64}"
24 |         let emailPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegex)
   |                              `- 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.
25 |
26 |         guard emailPredicate.evaluate(with: email) else {
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 |
[28/43] Compiling ValidatorKit DateBeforeFieldRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/EmailRule.swift:24:30: 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.
22 |
23 |         let emailRegex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,64}"
24 |         let emailPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegex)
   |                              `- 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.
25 |
26 |         guard emailPredicate.evaluate(with: email) else {
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 |
[29/43] Compiling ValidatorKit DateRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/EmailRule.swift:24:30: 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.
22 |
23 |         let emailRegex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,64}"
24 |         let emailPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegex)
   |                              `- 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.
25 |
26 |         guard emailPredicate.evaluate(with: email) else {
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 |
[30/43] Compiling ValidatorKit EmailRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/EmailRule.swift:24:30: 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.
22 |
23 |         let emailRegex = "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,64}"
24 |         let emailPredicate = NSPredicate(format: "SELF MATCHES %@", emailRegex)
   |                              `- 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.
25 |
26 |         guard emailPredicate.evaluate(with: email) else {
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 |
[31/43] Compiling ValidatorKit AsyncValidationRule.swift
[32/43] Compiling ValidatorKit CrossFieldValidationRule.swift
[33/43] Compiling ValidatorKit AnyAsyncValidationRule.swift
[34/43] Compiling ValidatorKit AnyValidationRule.swift
[35/43] Compiling ValidatorKit CreditCardRule.swift
[36/43] Compiling ValidatorKit RequiredRule.swift
[37/43] Compiling ValidatorKit URLRule.swift
[38/43] Compiling ValidatorKit ValidationError.swift
[39/43] Compiling ValidatorKit ValidationMessage.swift
[40/43] Compiling ValidatorKit FileExtensionsRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/IBANRule.swift:31:29: 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.
29 |
30 |         let ibanRegex = "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
31 |         let ibanPredicate = NSPredicate(format: "SELF MATCHES %@", ibanRegex)
   |                             `- 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.
32 |
33 |         guard ibanPredicate.evaluate(with: stripped) else {
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 |
[41/43] Compiling ValidatorKit FileSizeRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/IBANRule.swift:31:29: 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.
29 |
30 |         let ibanRegex = "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
31 |         let ibanPredicate = NSPredicate(format: "SELF MATCHES %@", ibanRegex)
   |                             `- 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.
32 |
33 |         guard ibanPredicate.evaluate(with: stripped) else {
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 |
[42/43] Compiling ValidatorKit GreaterThanRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/IBANRule.swift:31:29: 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.
29 |
30 |         let ibanRegex = "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
31 |         let ibanPredicate = NSPredicate(format: "SELF MATCHES %@", ibanRegex)
   |                             `- 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.
32 |
33 |         guard ibanPredicate.evaluate(with: stripped) else {
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 |
[43/43] Compiling ValidatorKit IBANRule.swift
/host/spi-builder-workspace/Sources/ValidatorKit/Rules/IBANRule.swift:31:29: 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.
29 |
30 |         let ibanRegex = "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
31 |         let ibanPredicate = NSPredicate(format: "SELF MATCHES %@", ibanRegex)
   |                             `- 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.
32 |
33 |         guard ibanPredicate.evaluate(with: stripped) else {
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 |
BUILD FAILURE 6.3 wasm