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

Successful build of icalendarkit, reference master (389fce), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 17:26:03 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-calendar/icalendarkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-calendar/icalendarkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 389fcea Merge pull request #14 from swift-calendar/support-calendar-extensions
Cloned https://github.com/swift-calendar/icalendarkit.git
Revision (git rev-parse @):
389fceafc1132ef284c6215118421bc88f1bfc8c
SUCCESS checkout https://github.com/swift-calendar/icalendarkit.git at master
Fetching https://github.com/swift-calendar/vcomponentkit.git
[5/147] Fetching vcomponentkit
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.62s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (1.19s)
Creating working copy for https://github.com/swift-calendar/vcomponentkit.git
Working copy of https://github.com/swift-calendar/vcomponentkit.git resolved at 1.0.5
========================================
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": "icalendarkit",
      "name": "icalendarkit",
      "url": "https://github.com/swift-calendar/icalendarkit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/icalendarkit",
      "dependencies": [
        {
          "identity": "vcomponentkit",
          "name": "vcomponentkit",
          "url": "https://github.com/swift-calendar/vcomponentkit.git",
          "version": "1.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/vcomponentkit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-calendar/icalendarkit.git
[1/998] Fetching icalendarkit
Fetched https://github.com/swift-calendar/icalendarkit.git from cache (1.11s)
Fetching https://github.com/swift-calendar/vcomponentkit.git from cache
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.47s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (0.53s)
Creating working copy for https://github.com/swift-calendar/icalendarkit.git
Working copy of https://github.com/swift-calendar/icalendarkit.git resolved at master (389fcea)
Creating working copy for https://github.com/swift-calendar/vcomponentkit.git
Working copy of https://github.com/swift-calendar/vcomponentkit.git resolved at 1.0.5
warning: '.resolve-product-dependencies': dependency 'icalendarkit' is not used by any target
Found 1 product dependencies
  - vcomponentkit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-calendar/icalendarkit.git
https://github.com/swift-calendar/icalendarkit.git
{
  "dependencies" : [
    {
      "identity" : "vcomponentkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-calendar/vcomponentkit.git"
    }
  ],
  "manifest_display_name" : "icalendarkit",
  "name" : "icalendarkit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ICalendarKit",
      "targets" : [
        "ICalendarKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ICalendarKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ICalendarKitTests",
      "path" : "Tests/ICalendarKitTests",
      "sources" : [
        "XCTestManifests.swift",
        "components/ICalendarTests.swift",
        "structures/ICalendarDurationTests.swift",
        "structures/ICalendarRecurrenceRuleTests.swift"
      ],
      "target_dependencies" : [
        "ICalendarKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ICalendarKit",
      "module_type" : "SwiftTarget",
      "name" : "ICalendarKit",
      "path" : "Sources/ICalendarKit",
      "product_dependencies" : [
        "VComponentKit"
      ],
      "product_memberships" : [
        "ICalendarKit"
      ],
      "sources" : [
        "components/ICalendar.swift",
        "components/ICalendarAlarm.swift",
        "components/ICalendarEvent.swift",
        "components/ICalendarFreeBusy.swift",
        "components/ICalendarJournal.swift",
        "components/ICalendarToDo.swift",
        "components/TimeZone/DaylightComponent.swift",
        "components/TimeZone/StandardComponent.swift",
        "components/TimeZone/TimeZoneComponent.swift",
        "extensions/Date+VPropertyEncodable.swift",
        "structures/ICalendarDate.swift",
        "structures/ICalendarDuration.swift",
        "structures/ICalendarGeographicPosition.swift",
        "structures/ICalendarMicrosoftExtensions.swift",
        "structures/ICalendarProductIdentifier.swift",
        "structures/ICalendarRecurrenceRule.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] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling VComponentKit URL+VPropertyEncodable.swift
[5/14] Compiling VComponentKit UUID+VPropertyEncodable.swift
[6/14] Compiling VComponentKit String+Utilities.swift
[7/14] Compiling VComponentKit VComponent.swift
[8/14] Compiling VComponentKit Bool+VPropertyEncodable.swift
[9/14] Compiling VComponentKit Int+VPropertyEncodable.swift
[10/14] Emitting module VComponentKit
[11/14] Compiling VComponentKit VPropertyEncodable.swift
[12/14] Compiling VComponentKit String+VPropertyEncodable.swift
[13/14] Compiling VComponentKit VEncodable.swift
[14/14] Compiling VComponentKit VContentLine.swift
[15/30] Compiling ICalendarKit ICalendarMicrosoftExtensions.swift
[16/30] Compiling ICalendarKit ICalendarProductIdentifier.swift
[17/31] Compiling ICalendarKit ICalendarGeographicPosition.swift
[18/31] Compiling ICalendarKit ICalendarDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/structures/ICalendarDuration.swift:13:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// See https://tools.ietf.org/html/rfc5545#section-3.8.2.5
12 | public struct ICalendarDuration: VPropertyEncodable, AdditiveArithmetic {
   |               `- note: consider making struct 'ICalendarDuration' conform to the 'Sendable' protocol
13 |     public static let zero: ICalendarDuration = ICalendarDuration(totalSeconds: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// The total seconds of this day.
[19/31] Compiling ICalendarKit ICalendarDuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/structures/ICalendarDuration.swift:13:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// See https://tools.ietf.org/html/rfc5545#section-3.8.2.5
12 | public struct ICalendarDuration: VPropertyEncodable, AdditiveArithmetic {
   |               `- note: consider making struct 'ICalendarDuration' conform to the 'Sendable' protocol
13 |     public static let zero: ICalendarDuration = ICalendarDuration(totalSeconds: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// The total seconds of this day.
[20/31] Compiling ICalendarKit TimeZoneComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/extensions/Date+VPropertyEncodable.swift:4:1: warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import VComponentKit
3 |
4 | extension Date: VPropertyEncodable {
  | |- warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
[21/31] Compiling ICalendarKit Date+VPropertyEncodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/extensions/Date+VPropertyEncodable.swift:4:1: warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import VComponentKit
3 |
4 | extension Date: VPropertyEncodable {
  | |- warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
[22/31] Compiling ICalendarKit ICalendarEvent.swift
[23/31] Compiling ICalendarKit ICalendarFreeBusy.swift
[24/31] Compiling ICalendarKit DaylightComponent.swift
[25/31] Compiling ICalendarKit StandardComponent.swift
[26/31] Compiling ICalendarKit ICalendar.swift
[27/31] Compiling ICalendarKit ICalendarAlarm.swift
[28/31] Emitting module ICalendarKit
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/extensions/Date+VPropertyEncodable.swift:4:1: warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
2 | import VComponentKit
3 |
4 | extension Date: VPropertyEncodable {
  | |- warning: extension declares a conformance of imported type 'Date' to imported protocols 'VPropertyEncodable', 'VEncodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
/Users/admin/builder/spi-builder-workspace/Sources/ICalendarKit/structures/ICalendarDuration.swift:13:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// See https://tools.ietf.org/html/rfc5545#section-3.8.2.5
12 | public struct ICalendarDuration: VPropertyEncodable, AdditiveArithmetic {
   |               `- note: consider making struct 'ICalendarDuration' conform to the 'Sendable' protocol
13 |     public static let zero: ICalendarDuration = ICalendarDuration(totalSeconds: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ICalendarDuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// The total seconds of this day.
[29/31] Compiling ICalendarKit ICalendarJournal.swift
[30/31] Compiling ICalendarKit ICalendarToDo.swift
[31/31] Compiling ICalendarKit ICalendarRecurrenceRule.swift
Build complete! (7.03s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "vcomponentkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-calendar/vcomponentkit.git"
    }
  ],
  "manifest_display_name" : "icalendarkit",
  "name" : "icalendarkit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ICalendarKit",
      "targets" : [
        "ICalendarKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ICalendarKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ICalendarKitTests",
      "path" : "Tests/ICalendarKitTests",
      "sources" : [
        "XCTestManifests.swift",
        "components/ICalendarTests.swift",
        "structures/ICalendarDurationTests.swift",
        "structures/ICalendarRecurrenceRuleTests.swift"
      ],
      "target_dependencies" : [
        "ICalendarKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ICalendarKit",
      "module_type" : "SwiftTarget",
      "name" : "ICalendarKit",
      "path" : "Sources/ICalendarKit",
      "product_dependencies" : [
        "VComponentKit"
      ],
      "product_memberships" : [
        "ICalendarKit"
      ],
      "sources" : [
        "components/ICalendar.swift",
        "components/ICalendarAlarm.swift",
        "components/ICalendarEvent.swift",
        "components/ICalendarFreeBusy.swift",
        "components/ICalendarJournal.swift",
        "components/ICalendarToDo.swift",
        "components/TimeZone/DaylightComponent.swift",
        "components/TimeZone/StandardComponent.swift",
        "components/TimeZone/TimeZoneComponent.swift",
        "extensions/Date+VPropertyEncodable.swift",
        "structures/ICalendarDate.swift",
        "structures/ICalendarDuration.swift",
        "structures/ICalendarGeographicPosition.swift",
        "structures/ICalendarMicrosoftExtensions.swift",
        "structures/ICalendarProductIdentifier.swift",
        "structures/ICalendarRecurrenceRule.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.