Build Information
Successful build of SwiftyHolidays, reference 1.0.0 (ac07ab), with Swift 6.1 for Android on 27 May 2025 23:38:49 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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: 1.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/MaxHaertwig/SwiftyHolidays
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at ac07aba Add reference to example project to README.md
Cloned https://github.com/MaxHaertwig/SwiftyHolidays.git
Revision (git rev-parse @):
ac07aba771a789b3ab7123826a6b807c2059d083
SUCCESS checkout https://github.com/MaxHaertwig/SwiftyHolidays.git at 1.0.0
========================================
Build
========================================
Selected platform: android
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/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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/21] Emitting module SwiftyHolidays
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:84: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
:
82 | // MARK: Private
83 |
84 | 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
85 | .austria: .austria(state: nil),
86 | .france: .france(department: nil),
:
93 |
94 | /// Represents a specific state of a country and can be used to retrieve its holidays.
95 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
96 | case austria(state: AustrianState?)
97 | case france(department: FrenchDepartment?)
[4/23] Compiling SwiftyHolidays HolidaysBuilder.swift
[5/23] Compiling SwiftyHolidays HolidaysBuilderUS.swift
[6/23] Compiling SwiftyHolidays Switzerland.swift
[7/23] Compiling SwiftyHolidays UnitedStates.swift
[8/23] Compiling SwiftyHolidays CalendarExtensions.swift
[9/23] Compiling SwiftyHolidays Germany.swift
[10/23] Compiling SwiftyHolidays Luxembourg.swift
[11/23] Compiling SwiftyHolidays Spain.swift
[12/23] Compiling SwiftyHolidays CountryProtocol.swift
[13/23] Compiling SwiftyHolidays CountryWithStateBase.swift
[14/23] Compiling SwiftyHolidays LocalDate.swift
[15/23] Compiling SwiftyHolidays Month.swift
[16/23] Compiling SwiftyHolidays Weekday.swift
[17/23] Compiling SwiftyHolidays Holiday.swift
[18/23] Compiling SwiftyHolidays DateExtensions.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:84: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
:
82 | // MARK: Private
83 |
84 | 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
85 | .austria: .austria(state: nil),
86 | .france: .france(department: nil),
:
93 |
94 | /// Represents a specific state of a country and can be used to retrieve its holidays.
95 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
96 | case austria(state: AustrianState?)
97 | case france(department: FrenchDepartment?)
[19/23] Compiling SwiftyHolidays Country.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:84: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
:
82 | // MARK: Private
83 |
84 | 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
85 | .austria: .austria(state: nil),
86 | .france: .france(department: nil),
:
93 |
94 | /// Represents a specific state of a country and can be used to retrieve its holidays.
95 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
96 | case austria(state: AustrianState?)
97 | case france(department: FrenchDepartment?)
[20/23] Compiling SwiftyHolidays CountryBase.swift
/host/spi-builder-workspace/Sources/SwiftyHolidays/Model/Country/Country.swift:84: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
:
82 | // MARK: Private
83 |
84 | 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
85 | .austria: .austria(state: nil),
86 | .france: .france(department: nil),
:
93 |
94 | /// Represents a specific state of a country and can be used to retrieve its holidays.
95 | public enum CountryWithState: CaseIterable, CountryProtocol {
| `- note: consider making enum 'CountryWithState' conform to the 'Sendable' protocol
96 | case austria(state: AustrianState?)
97 | case france(department: FrenchDepartment?)
[21/23] Compiling SwiftyHolidays Austria.swift
[22/23] Compiling SwiftyHolidays Denmark.swift
[23/23] Compiling SwiftyHolidays France.swift
Build complete! (13.09s)
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/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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.