This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build VatNumberKit with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/frederik-jacques/vatnumberkit.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 426f060 Create swift.yml
Cloned https://github.com/frederik-jacques/vatnumberkit.git
Revision (git rev-parse @):
426f060063dfd4075bb7de2a1f6e074458081f04
SUCCESS checkout https://github.com/frederik-jacques/vatnumberkit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/frederik-jacques/vatnumberkit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/41] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[2/46] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
[3/46] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
[4/46] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
[5/46] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
[6/46] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
[7/46] Compiling VatNumberKit VatNumberKit_EstoniaChecksumValidator.swift
[8/46] Compiling VatNumberKit VatNumberKit_EuropeanEntityValidator.swift
[9/46] Compiling VatNumberKit VatNumberKit_FinlandChecksumValidator.swift
[10/46] Compiling VatNumberKit VatNumberKit_FranceChecksumValidator.swift
[11/46] Compiling VatNumberKit VatNumberKit_GermanyChecksumValidator.swift
[12/46] Compiling VatNumberKit VatNumberKit_GreatBritainChecksumValidator.swift
[13/46] Compiling VatNumberKit VatNumberKit_LuxembourgChecksumValidator.swift
[14/46] Compiling VatNumberKit VatNumberKit_MaltaChecksumValidator.swift
[15/46] Compiling VatNumberKit VatNumberKit_NetherlandsChecksumValidator.swift
[16/46] Compiling VatNumberKit VatNumberKit_NorthernIrelandChecksumValidator.swift
[17/46] Compiling VatNumberKit VatNumberKit_PolandChecksumValidator.swift
[18/46] Compiling VatNumberKit VatNumberKit_BulgariaChecksumValidator.swift
[19/46] Compiling VatNumberKit VatNumberKit_ChecksumValidator.swift
[20/46] Compiling VatNumberKit VatNumberKit_CroatiaChecksumValidator.swift
[21/46] Compiling VatNumberKit VatNumberKit_CyprusChecksumValidator.swift
[22/46] Compiling VatNumberKit VatNumberKit_CzechRepublicChecksumValidator.swift
[23/46] Compiling VatNumberKit VatNumberKit_DenmarkChecksumValidator.swift
[24/46] Compiling VatNumberKit VatNumberKit_GreeceChecksumValidator.swift
[25/46] Compiling VatNumberKit VatNumberKit_HungaryChecksumValidator.swift
[26/46] Compiling VatNumberKit VatNumberKit_IrelandChecksumValidator.swift
[27/46] Compiling VatNumberKit VatNumberKit_ItalyChecksumValidator.swift
[28/46] Compiling VatNumberKit VatNumberKit_LatviaChecksumValidator.swift
[29/46] Compiling VatNumberKit VatNumberKit_LithuaniaChecksumValidator.swift
[30/46] Compiling VatNumberKit VatNumberKit_PortugalChecksumValidator.swift
[31/46] Compiling VatNumberKit VatNumberKit_RomaniaChecksumValidator.swift
[32/46] Compiling VatNumberKit VatNumberKit_SlovakiaChecksumValidator.swift
[33/46] Compiling VatNumberKit VatNumberKit_SloveniaChecksumValidator.swift
[34/46] Compiling VatNumberKit VatNumberKit_SpainChecksumValidator.swift
[35/46] Compiling VatNumberKit VatNumberKit_ValidationMode.swift
[36/46] Compiling VatNumberKit VatNumberKit_ValidationOutput.swift
[37/46] Compiling VatNumberKit VatNumberKit_ValidationServiceOutput.swift
[38/46] Compiling VatNumberKit VatNumberKit_VatNumber.swift
[39/46] Compiling VatNumberKit VatNumberKit_AustriaChecksumValidator.swift
[40/46] Compiling VatNumberKit VatNumberKit_BelgiumChecksumValidator.swift
[41/46] Compiling VatNumberKit IrishVatNumberConverter.swift
[42/46] Compiling VatNumberKit BinaryInteger+Clamp.swift
[43/46] Compiling VatNumberKit String+Alphanumeric.swift
[44/46] Compiling VatNumberKit String+RangeSubscript.swift
[45/46] Compiling VatNumberKit VatNumberKit_ChecksumHelper.swift
[46/46] Compiling VatNumberKit VatNumberKit_Country.swift
[0/1] Planning build
Building for debugging...
[1/6] Compiling VatNumberKit VatNumberKit.swift
/host/spi-builder-workspace/Sources/VatNumberKit/VatNumberKit.swift:97:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let validationService = ValidationService(urlSession: URLSession.shared)
                                                              ~~~~~~~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Compiling VatNumberKit VatNumberKit_EUVatServiceResponse.swift
[3/6] Compiling VatNumberKit VatNumberKit_SwedenChecksumValidator.swift
[4/6] Compiling VatNumberKit VatNumberKit_UkVatServiceResponse.swift
[5/6] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
[6/6] 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.
        private let urlSession: URLSession
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        init(urlSession: URLSession) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
/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'
            let task = urlSession.dataTask(with: url, completionHandler: { (data, response, error) in
                       ~~~~~~~~~~ ^~~~~~~~
[7/43] Compiling VatNumberKit VatNumberKit_ValidationServiceOutput.swift
[8/43] Compiling VatNumberKit VatNumberKit_VatNumber.swift
[9/43] Compiling VatNumberKit VatNumberKit_AustriaChecksumValidator.swift
[10/43] Compiling VatNumberKit VatNumberKit_BelgiumChecksumValidator.swift
[11/43] Compiling VatNumberKit VatNumberKit_BulgariaChecksumValidator.swift
[12/43] Compiling VatNumberKit VatNumberKit_NetherlandsChecksumValidator.swift
[13/43] Compiling VatNumberKit VatNumberKit_NorthernIrelandChecksumValidator.swift
[14/43] Compiling VatNumberKit VatNumberKit_PolandChecksumValidator.swift
[15/43] Compiling VatNumberKit VatNumberKit_PortugalChecksumValidator.swift
[16/43] Compiling VatNumberKit IrishVatNumberConverter.swift
[17/43] Compiling VatNumberKit VatNumberKit_ChecksumHelper.swift
[18/43] Compiling VatNumberKit VatNumberKit_Country.swift
[19/43] Compiling VatNumberKit VatNumberKit_ValidationMode.swift
[20/43] Compiling VatNumberKit VatNumberKit_ValidationOutput.swift
[21/43] Compiling VatNumberKit VatNumberKit_EstoniaChecksumValidator.swift
[22/43] Compiling VatNumberKit VatNumberKit_EuropeanEntityValidator.swift
[23/43] Compiling VatNumberKit VatNumberKit_FinlandChecksumValidator.swift
[24/43] Compiling VatNumberKit VatNumberKit_FranceChecksumValidator.swift
[25/43] Compiling VatNumberKit VatNumberKit_GermanyChecksumValidator.swift
[26/43] Compiling VatNumberKit VatNumberKit_LatviaChecksumValidator.swift
[27/43] Compiling VatNumberKit VatNumberKit_LithuaniaChecksumValidator.swift
[28/43] Compiling VatNumberKit VatNumberKit_LuxembourgChecksumValidator.swift
[29/43] Compiling VatNumberKit VatNumberKit_MaltaChecksumValidator.swift
[30/43] Compiling VatNumberKit VatNumberKit_ChecksumValidator.swift
[31/43] Compiling VatNumberKit VatNumberKit_CroatiaChecksumValidator.swift
[32/43] Compiling VatNumberKit VatNumberKit_CyprusChecksumValidator.swift
[33/43] Compiling VatNumberKit VatNumberKit_CzechRepublicChecksumValidator.swift
[34/43] Compiling VatNumberKit VatNumberKit_DenmarkChecksumValidator.swift
[35/43] Compiling VatNumberKit VatNumberKit_GreatBritainChecksumValidator.swift
[36/43] Compiling VatNumberKit VatNumberKit_GreeceChecksumValidator.swift
[37/43] Compiling VatNumberKit VatNumberKit_HungaryChecksumValidator.swift
[38/43] Compiling VatNumberKit VatNumberKit_IrelandChecksumValidator.swift
[39/43] Compiling VatNumberKit VatNumberKit_ItalyChecksumValidator.swift
[40/43] Compiling VatNumberKit VatNumberKit_RomaniaChecksumValidator.swift
[41/43] Compiling VatNumberKit VatNumberKit_SlovakiaChecksumValidator.swift
[42/43] Compiling VatNumberKit VatNumberKit_SloveniaChecksumValidator.swift
[43/43] Compiling VatNumberKit VatNumberKit_SpainChecksumValidator.swift
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.