The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HolidayJp, reference 1.0.0 (9b2a8e), with Swift 6.1 for Android on 13 Jul 2025 06:51:06 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/holiday-jp/holiday_jp-swift.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/holiday-jp/holiday_jp-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 9b2a8e8 chore: add comment [ci skip]
Submodule path 'holiday_jp': checked out '231865e2ba56c501ce76d156a63ad797d632811d'
Submodule 'holiday_jp' (https://github.com/holiday-jp/holiday_jp.git) registered for path 'holiday_jp'
Cloning into '/host/spi-builder-workspace/holiday_jp'...
Cloned https://github.com/holiday-jp/holiday_jp-swift.git
Revision (git rev-parse @):
9b2a8e8bd1af395011f2638cafe2007c25316c43
SUCCESS checkout https://github.com/holiday-jp/holiday_jp-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/holiday-jp/holiday_jp-swift.git
https://github.com/holiday-jp/holiday_jp-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HolidayJp",
  "name" : "HolidayJp",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HolidayJp",
      "targets" : [
        "HolidayJp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HolidayJpTests",
      "module_type" : "SwiftTarget",
      "name" : "HolidayJpTests",
      "path" : "Tests/HolidayJpTests",
      "sources" : [
        "HolidayJpTests.swift",
        "HolidayTest.swift"
      ],
      "target_dependencies" : [
        "HolidayJp"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HolidayJp",
      "module_type" : "SwiftTarget",
      "name" : "HolidayJp",
      "path" : "Sources/HolidayJp",
      "product_memberships" : [
        "HolidayJp"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/HolidayJp/holidays_detailed.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Holiday.swift",
        "HolidayJSONLoader.swift",
        "HolidayJp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying holidays_detailed.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling HolidayJp resource_bundle_accessor.swift
[5/8] Compiling HolidayJp HolidayJp.swift
/host/spi-builder-workspace/Sources/HolidayJp/HolidayJp.swift:15:24: warning: static property 'holidays' is not concurrency-safe because non-'Sendable' type '[String : Holiday]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     public static let calendar: Calendar = Calendar(identifier: .iso8601)
14 |
15 |     private static let holidays: [String: Holiday] = HolidayJSONLoader.loadHolidays(bundle: Bundle.module)
   |                        |- warning: static property 'holidays' is not concurrency-safe because non-'Sendable' type '[String : Holiday]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'holidays' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     public static func between(
/host/spi-builder-workspace/Sources/HolidayJp/Holiday.swift:10:15: note: consider making struct 'Holiday' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct Holiday: Codable {
   |               `- note: consider making struct 'Holiday' conform to the 'Sendable' protocol
11 |     public let ymd: String
12 |     public let week: String
[6/8] Compiling HolidayJp HolidayJSONLoader.swift
[7/8] Emitting module HolidayJp
/host/spi-builder-workspace/Sources/HolidayJp/HolidayJp.swift:15:24: warning: static property 'holidays' is not concurrency-safe because non-'Sendable' type '[String : Holiday]' may have shared mutable state; this is an error in the Swift 6 language mode
13 |     public static let calendar: Calendar = Calendar(identifier: .iso8601)
14 |
15 |     private static let holidays: [String: Holiday] = HolidayJSONLoader.loadHolidays(bundle: Bundle.module)
   |                        |- warning: static property 'holidays' is not concurrency-safe because non-'Sendable' type '[String : Holiday]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'holidays' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     public static func between(
/host/spi-builder-workspace/Sources/HolidayJp/Holiday.swift:10:15: note: consider making struct 'Holiday' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct Holiday: Codable {
   |               `- note: consider making struct 'Holiday' conform to the 'Sendable' protocol
11 |     public let ymd: String
12 |     public let week: String
[8/8] Compiling HolidayJp Holiday.swift
Build complete! (8.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HolidayJp",
  "name" : "HolidayJp",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HolidayJp",
      "targets" : [
        "HolidayJp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HolidayJpTests",
      "module_type" : "SwiftTarget",
      "name" : "HolidayJpTests",
      "path" : "Tests/HolidayJpTests",
      "sources" : [
        "HolidayJpTests.swift",
        "HolidayTest.swift"
      ],
      "target_dependencies" : [
        "HolidayJp"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HolidayJp",
      "module_type" : "SwiftTarget",
      "name" : "HolidayJp",
      "path" : "Sources/HolidayJp",
      "product_memberships" : [
        "HolidayJp"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/HolidayJp/holidays_detailed.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Holiday.swift",
        "HolidayJSONLoader.swift",
        "HolidayJp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.