The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HolidayJp, reference 1.0.0 (9b2a8e), with Swift 6.1 for macOS (SPM) on 13 Jul 2025 06:50:52 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "holiday_jp-swift",
      "name": "HolidayJp",
      "url": "https://github.com/holiday-jp/holiday_jp-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/holiday_jp-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/holiday-jp/holiday_jp-swift.git
[1/467] Fetching holiday_jp-swift
Fetched https://github.com/holiday-jp/holiday_jp-swift.git from cache (0.80s)
Creating working copy for https://github.com/holiday-jp/holiday_jp-swift.git
Working copy of https://github.com/holiday-jp/holiday_jp-swift.git resolved at 1.0.0 (9b2a8e8)
warning: '.resolve-product-dependencies': dependency 'holiday_jp-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HolidayJp",
  "name" : "HolidayJp",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Copying holidays_detailed.json
[1/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling HolidayJp resource_bundle_accessor.swift
[5/8] Emitting module HolidayJp
/Users/admin/builder/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(
/Users/admin/builder/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 Holiday.swift
[7/8] Compiling HolidayJp HolidayJp.swift
/Users/admin/builder/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(
/Users/admin/builder/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 HolidayJSONLoader.swift
Build complete! (3.97s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HolidayJp",
  "name" : "HolidayJp",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/HolidayJp/holidays_detailed.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Holiday.swift",
        "HolidayJSONLoader.swift",
        "HolidayJp.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.