Build Information
Successful build of SwiftyHolidays, reference master (d5fd5c), with Swift 6.1 for Wasm on 27 May 2025 23:38:23 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MaxHaertwig/SwiftyHolidays.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/MaxHaertwig/SwiftyHolidays
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d5fd5c3 Merge pull request #3 from icesco/master
Cloned https://github.com/MaxHaertwig/SwiftyHolidays.git
Revision (git rev-parse @):
d5fd5c3e2b8f59a8741dcf988747096d8fbd6563
SUCCESS checkout https://github.com/MaxHaertwig/SwiftyHolidays.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MaxHaertwig/SwiftyHolidays.git
https://github.com/MaxHaertwig/SwiftyHolidays.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyHolidays",
"name" : "SwiftyHolidays",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyHolidays",
"targets" : [
"SwiftyHolidays"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyHolidaysTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyHolidaysTests",
"path" : "Tests/SwiftyHolidaysTests",
"sources" : [
"Countries/CountriesTests.swift",
"Countries/CountryTests.swift",
"Extensions/CalendarExtesionsTests.swift",
"Extensions/DateExtensionsTests.swift",
"Model/Country/CountryBaseTests.swift",
"Model/Date/LocalDateTests.swift",
"Model/Date/MonthTests.swift",
"Utils/HolidaysBuilderTests.swift",
"Utils/HolidaysBuilderUSTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyHolidays"
],
"type" : "test"
},
{
"c99name" : "SwiftyHolidays",
"module_type" : "SwiftTarget",
"name" : "SwiftyHolidays",
"path" : "Sources/SwiftyHolidays",
"product_memberships" : [
"SwiftyHolidays"
],
"sources" : [
"Countries/Austria.swift",
"Countries/Denmark.swift",
"Countries/France.swift",
"Countries/Germany.swift",
"Countries/Italy.swift",
"Countries/Luxembourg.swift",
"Countries/Spain.swift",
"Countries/Switzerland.swift",
"Countries/UnitedStates.swift",
"Extensions/CalendarExtensions.swift",
"Extensions/DateExtensions.swift",
"Model/Country/Country.swift",
"Model/Country/CountryBase.swift",
"Model/Country/CountryProtocol.swift",
"Model/Country/CountryWithStateBase.swift",
"Model/Date/LocalDate.swift",
"Model/Date/Month.swift",
"Model/Date/Weekday.swift",
"Model/Holiday/Holiday.swift",
"Utils/HolidaysBuilder.swift",
"Utils/HolidaysBuilderUS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/22] Emitting module SwiftyHolidays
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:85:24: warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a country and can be used to retrieve its holidays.
4 | public enum Country: String, CaseIterable, CountryProtocol {
| `- note: consider making enum 'Country' conform to the 'Sendable' protocol
5 | case austria
6 | case denmark
:
83 | // MARK: Private
84 |
85 | private static let mapping: [Country: CountryWithState] = [
| |- warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | .austria: .austria(state: nil),
87 | .france: .france(department: nil),
:
95 |
96 | /// Represents a specific state of a country and can be used to retrieve its holidays.
97 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
98 | case austria(state: AustrianState?)
99 | case france(department: FrenchDepartment?)
[4/24] Compiling SwiftyHolidays HolidaysBuilder.swift
[5/24] Compiling SwiftyHolidays HolidaysBuilderUS.swift
[6/24] Compiling SwiftyHolidays Weekday.swift
[7/24] Compiling SwiftyHolidays Holiday.swift
[8/24] Compiling SwiftyHolidays Germany.swift
[9/24] Compiling SwiftyHolidays Italy.swift
[10/24] Compiling SwiftyHolidays Luxembourg.swift
[11/24] Compiling SwiftyHolidays CountryBase.swift
[12/24] Compiling SwiftyHolidays CountryProtocol.swift
[13/24] Compiling SwiftyHolidays CountryWithStateBase.swift
[14/24] Compiling SwiftyHolidays CalendarExtensions.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:85:24: warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a country and can be used to retrieve its holidays.
4 | public enum Country: String, CaseIterable, CountryProtocol {
| `- note: consider making enum 'Country' conform to the 'Sendable' protocol
5 | case austria
6 | case denmark
:
83 | // MARK: Private
84 |
85 | private static let mapping: [Country: CountryWithState] = [
| |- warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | .austria: .austria(state: nil),
87 | .france: .france(department: nil),
:
95 |
96 | /// Represents a specific state of a country and can be used to retrieve its holidays.
97 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
98 | case austria(state: AustrianState?)
99 | case france(department: FrenchDepartment?)
[15/24] Compiling SwiftyHolidays DateExtensions.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:85:24: warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a country and can be used to retrieve its holidays.
4 | public enum Country: String, CaseIterable, CountryProtocol {
| `- note: consider making enum 'Country' conform to the 'Sendable' protocol
5 | case austria
6 | case denmark
:
83 | // MARK: Private
84 |
85 | private static let mapping: [Country: CountryWithState] = [
| |- warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | .austria: .austria(state: nil),
87 | .france: .france(department: nil),
:
95 |
96 | /// Represents a specific state of a country and can be used to retrieve its holidays.
97 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
98 | case austria(state: AustrianState?)
99 | case france(department: FrenchDepartment?)
[16/24] Compiling SwiftyHolidays Country.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:85:24: warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents a country and can be used to retrieve its holidays.
4 | public enum Country: String, CaseIterable, CountryProtocol {
| `- note: consider making enum 'Country' conform to the 'Sendable' protocol
5 | case austria
6 | case denmark
:
83 | // MARK: Private
84 |
85 | private static let mapping: [Country: CountryWithState] = [
| |- warning: static property 'mapping' is not concurrency-safe because non-'Sendable' type '[Country : CountryWithState]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mapping' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | .austria: .austria(state: nil),
87 | .france: .france(department: nil),
:
95 |
96 | /// Represents a specific state of a country and can be used to retrieve its holidays.
97 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
98 | case austria(state: AustrianState?)
99 | case france(department: FrenchDepartment?)
[17/24] Compiling SwiftyHolidays LocalDate.swift
[18/24] Compiling SwiftyHolidays Month.swift
[19/24] Compiling SwiftyHolidays Austria.swift
[20/24] Compiling SwiftyHolidays Denmark.swift
[21/24] Compiling SwiftyHolidays France.swift
[22/24] Compiling SwiftyHolidays Spain.swift
[23/24] Compiling SwiftyHolidays Switzerland.swift
[24/24] Compiling SwiftyHolidays UnitedStates.swift
Build complete! (8.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyHolidays",
"name" : "SwiftyHolidays",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyHolidays",
"targets" : [
"SwiftyHolidays"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyHolidaysTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyHolidaysTests",
"path" : "Tests/SwiftyHolidaysTests",
"sources" : [
"Countries/CountriesTests.swift",
"Countries/CountryTests.swift",
"Extensions/CalendarExtesionsTests.swift",
"Extensions/DateExtensionsTests.swift",
"Model/Country/CountryBaseTests.swift",
"Model/Date/LocalDateTests.swift",
"Model/Date/MonthTests.swift",
"Utils/HolidaysBuilderTests.swift",
"Utils/HolidaysBuilderUSTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyHolidays"
],
"type" : "test"
},
{
"c99name" : "SwiftyHolidays",
"module_type" : "SwiftTarget",
"name" : "SwiftyHolidays",
"path" : "Sources/SwiftyHolidays",
"product_memberships" : [
"SwiftyHolidays"
],
"sources" : [
"Countries/Austria.swift",
"Countries/Denmark.swift",
"Countries/France.swift",
"Countries/Germany.swift",
"Countries/Italy.swift",
"Countries/Luxembourg.swift",
"Countries/Spain.swift",
"Countries/Switzerland.swift",
"Countries/UnitedStates.swift",
"Extensions/CalendarExtensions.swift",
"Extensions/DateExtensions.swift",
"Model/Country/Country.swift",
"Model/Country/CountryBase.swift",
"Model/Country/CountryProtocol.swift",
"Model/Country/CountryWithStateBase.swift",
"Model/Date/LocalDate.swift",
"Model/Date/Month.swift",
"Model/Date/Weekday.swift",
"Model/Holiday/Holiday.swift",
"Utils/HolidaysBuilder.swift",
"Utils/HolidaysBuilderUS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.