The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VatNumberKit, reference 2.0.0 (da260c), with Swift 6.3 for Android on 13 Apr 2026 12:38:01 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/frederik-jacques/vatnumberkit.git
Reference: 2.0.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/frederik-jacques/vatnumberkit
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at da260cd Updated Belgian VAT number to also match common formatting
Cloned https://github.com/frederik-jacques/vatnumberkit.git
Revision (git rev-parse @):
da260cd6319e0ed560dd068c486f076c93ec052a
SUCCESS checkout https://github.com/frederik-jacques/vatnumberkit.git at 2.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/frederik-jacques/vatnumberkit.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/43] Emitting module VatNumberKit
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
[4/48] Compiling VatNumberKit VatNumberKit_BulgariaChecksumValidator.swift
[5/48] Compiling VatNumberKit VatNumberKit_ChecksumValidator.swift
[6/48] Compiling VatNumberKit VatNumberKit_CroatiaChecksumValidator.swift
[7/48] Compiling VatNumberKit VatNumberKit_CyprusChecksumValidator.swift
[8/48] Compiling VatNumberKit VatNumberKit_CzechRepublicChecksumValidator.swift
[9/48] Compiling VatNumberKit VatNumberKit_DenmarkChecksumValidator.swift
[10/48] Compiling VatNumberKit VatNumberKit_LuxembourgChecksumValidator.swift
[11/48] Compiling VatNumberKit VatNumberKit_MaltaChecksumValidator.swift
[12/48] Compiling VatNumberKit VatNumberKit_NetherlandsChecksumValidator.swift
[13/48] Compiling VatNumberKit VatNumberKit_NorthernIrelandChecksumValidator.swift
[14/48] Compiling VatNumberKit VatNumberKit_PolandChecksumValidator.swift
[15/48] Compiling VatNumberKit VatNumberKit_PortugalChecksumValidator.swift
[16/48] Compiling VatNumberKit VatNumberKit_RomaniaChecksumValidator.swift
[17/48] Compiling VatNumberKit VatNumberKit_SlovakiaChecksumValidator.swift
[18/48] Compiling VatNumberKit VatNumberKit_SloveniaChecksumValidator.swift
[19/48] Compiling VatNumberKit VatNumberKit_SpainChecksumValidator.swift
[20/48] Compiling VatNumberKit VatNumberKit_SwedenChecksumValidator.swift
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:44:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 42 |             }
 43 |
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:57:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 // If the VAT number has an incorrect number of digits (not 9 or 12),
 56 |                 // the service returns a 400 (Bad Request) response.
 57 |                 guard httpResponse.statusCode != 400 else {
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                     completionHandler(.success(ValidationServiceOutput(isValid: false, validationMessages: [.ukVatNumberHasIncorrectNumberOfDigits], metaData: nil)))
 59 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:97:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 95 |             }
 96 |
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:108:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |                 }
107 |
108 |                 guard (200...299).contains(httpResponse.statusCode) else {
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |                     completionHandler(.failure(ValidationServiceError.validationServiceDown))
110 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |         }
 96 |
 97 |         let validationService = ValidationService(urlSession: URLSession.shared)
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |         validationService.validate(vatNumber: vatNumber, completionHandler: completionHandler)
 99 |     }
[21/48] Compiling VatNumberKit VatNumberKit_EUVatServiceResponse.swift
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:44:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 42 |             }
 43 |
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:57:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 // If the VAT number has an incorrect number of digits (not 9 or 12),
 56 |                 // the service returns a 400 (Bad Request) response.
 57 |                 guard httpResponse.statusCode != 400 else {
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                     completionHandler(.success(ValidationServiceOutput(isValid: false, validationMessages: [.ukVatNumberHasIncorrectNumberOfDigits], metaData: nil)))
 59 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:97:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 95 |             }
 96 |
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:108:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |                 }
107 |
108 |                 guard (200...299).contains(httpResponse.statusCode) else {
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |                     completionHandler(.failure(ValidationServiceError.validationServiceDown))
110 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |         }
 96 |
 97 |         let validationService = ValidationService(urlSession: URLSession.shared)
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |         validationService.validate(vatNumber: vatNumber, completionHandler: completionHandler)
 99 |     }
[22/48] Compiling VatNumberKit VatNumberKit_UkVatServiceResponse.swift
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:44:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 42 |             }
 43 |
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:57:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 // If the VAT number has an incorrect number of digits (not 9 or 12),
 56 |                 // the service returns a 400 (Bad Request) response.
 57 |                 guard httpResponse.statusCode != 400 else {
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                     completionHandler(.success(ValidationServiceOutput(isValid: false, validationMessages: [.ukVatNumberHasIncorrectNumberOfDigits], metaData: nil)))
 59 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:97:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 95 |             }
 96 |
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:108:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |                 }
107 |
108 |                 guard (200...299).contains(httpResponse.statusCode) else {
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |                     completionHandler(.failure(ValidationServiceError.validationServiceDown))
110 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |         }
 96 |
 97 |         let validationService = ValidationService(urlSession: URLSession.shared)
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |         validationService.validate(vatNumber: vatNumber, completionHandler: completionHandler)
 99 |     }
[23/48] Compiling VatNumberKit VatNumberKit_ValidationService.swift
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:44:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 42 |             }
 43 |
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:57:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 // If the VAT number has an incorrect number of digits (not 9 or 12),
 56 |                 // the service returns a 400 (Bad Request) response.
 57 |                 guard httpResponse.statusCode != 400 else {
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                     completionHandler(.success(ValidationServiceOutput(isValid: false, validationMessages: [.ukVatNumberHasIncorrectNumberOfDigits], metaData: nil)))
 59 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:97:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 95 |             }
 96 |
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:108:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |                 }
107 |
108 |                 guard (200...299).contains(httpResponse.statusCode) else {
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |                     completionHandler(.failure(ValidationServiceError.validationServiceDown))
110 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |         }
 96 |
 97 |         let validationService = ValidationService(urlSession: URLSession.shared)
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |         validationService.validate(vatNumber: vatNumber, completionHandler: completionHandler)
 99 |     }
[24/48] Compiling VatNumberKit VatNumberKit.swift
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:23:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     struct ValidationService {
 22 |
 23 |         private let urlSession: URLSession
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 |         init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         private let urlSession: URLSession
 24 |
 25 |         init(urlSession: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |             self.urlSession = urlSession
 27 |         }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:44:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 42 |             }
 43 |
 44 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 45 |                 guard error == nil else {
 46 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:57:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 55 |                 // If the VAT number has an incorrect number of digits (not 9 or 12),
 56 |                 // the service returns a 400 (Bad Request) response.
 57 |                 guard httpResponse.statusCode != 400 else {
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 58 |                     completionHandler(.success(ValidationServiceOutput(isValid: false, validationMessages: [.ukVatNumberHasIncorrectNumberOfDigits], metaData: nil)))
 59 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:97:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 95 |             }
 96 |
 97 |             let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
    |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 98 |                 guard error == nil else {
 99 |                     completionHandler(.failure(error!))
/host/spi-builder-workspace/Sources/VatNumberKit/Validators/Online/Services/VatNumberKit_ValidationService.swift:108:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
106 |                 }
107 |
108 |                 guard (200...299).contains(httpResponse.statusCode) else {
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
109 |                     completionHandler(.failure(ValidationServiceError.validationServiceDown))
110 |                     return
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |         }
 96 |
 97 |         let validationService = ValidationService(urlSession: URLSession.shared)
    |                                                                          `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |         validationService.validate(vatNumber: vatNumber, completionHandler: completionHandler)
 99 |     }
[25/48] Compiling VatNumberKit VatNumberKit_GreeceChecksumValidator.swift
[26/48] Compiling VatNumberKit VatNumberKit_HungaryChecksumValidator.swift
[27/48] Compiling VatNumberKit VatNumberKit_IrelandChecksumValidator.swift
[28/48] Compiling VatNumberKit VatNumberKit_ItalyChecksumValidator.swift
[29/48] Compiling VatNumberKit VatNumberKit_LatviaChecksumValidator.swift
[30/48] Compiling VatNumberKit VatNumberKit_LithuaniaChecksumValidator.swift
[31/48] Compiling VatNumberKit VatNumberKit_ValidationMode.swift
[32/48] Compiling VatNumberKit VatNumberKit_ValidationOutput.swift
[33/48] Compiling VatNumberKit VatNumberKit_ValidationServiceOutput.swift
[34/48] Compiling VatNumberKit VatNumberKit_VatNumber.swift
[35/48] Compiling VatNumberKit VatNumberKit_AustriaChecksumValidator.swift
[36/48] Compiling VatNumberKit VatNumberKit_BelgiumChecksumValidator.swift
[37/48] Compiling VatNumberKit VatNumberKit_EstoniaChecksumValidator.swift
[38/48] Compiling VatNumberKit VatNumberKit_EuropeanEntityValidator.swift
[39/48] Compiling VatNumberKit VatNumberKit_FinlandChecksumValidator.swift
[40/48] Compiling VatNumberKit VatNumberKit_FranceChecksumValidator.swift
[41/48] Compiling VatNumberKit VatNumberKit_GermanyChecksumValidator.swift
[42/48] Compiling VatNumberKit VatNumberKit_GreatBritainChecksumValidator.swift
[43/48] Compiling VatNumberKit IrishVatNumberConverter.swift
[44/48] Compiling VatNumberKit BinaryInteger+Clamp.swift
[45/48] Compiling VatNumberKit String+Alphanumeric.swift
[46/48] Compiling VatNumberKit String+RangeSubscript.swift
[47/48] Compiling VatNumberKit VatNumberKit_ChecksumHelper.swift
[48/48] Compiling VatNumberKit VatNumberKit_Country.swift
BUILD FAILURE 6.3 android