This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/swift-calendar/icalendarkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling VComponentKit VComponent.swift
[5/13] Compiling VComponentKit String+Utilities.swift
[6/13] Compiling VComponentKit Bool+VPropertyEncodable.swift
[7/13] Compiling VComponentKit Int+VPropertyEncodable.swift
[8/13] Compiling VComponentKit VEncodable.swift
[9/13] Compiling VComponentKit VPropertyEncodable.swift
[10/13] Emitting module VComponentKit
[11/13] Compiling VComponentKit String+VPropertyEncodable.swift
[12/14] Compiling VComponentKit URL+VPropertyEncodable.swift
[13/14] Compiling VComponentKit UUID+VPropertyEncodable.swift
[14/14] Compiling VComponentKit VContentLine.swift
[15/30] Compiling ICalendarKit ICalendarMicrosoftExtensions.swift
[16/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
[17/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
[18/31] Compiling ICalendarKit ICalendarProductIdentifier.swift
[19/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// The total seconds of this day.
[21/31] Compiling ICalendarKit ICalendarGeographicPosition.swift
[22/31] Compiling ICalendarKit DaylightComponent.swift
[23/31] Compiling ICalendarKit StandardComponent.swift
[24/31] Compiling ICalendarKit ICalendarJournal.swift
[25/31] Compiling ICalendarKit ICalendarToDo.swift
[26/31] Compiling ICalendarKit ICalendarEvent.swift
[27/31] Compiling ICalendarKit ICalendarFreeBusy.swift
[28/31] Compiling ICalendarKit ICalendar.swift
[29/31] Compiling ICalendarKit ICalendarAlarm.swift
[30/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     /// The total seconds of this day.
[31/31] Compiling ICalendarKit ICalendarRecurrenceRule.swift
Build complete! (23.89s)
Fetching https://github.com/swift-calendar/vcomponentkit.git
[1/147] Fetching vcomponentkit
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.74s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (0.73s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.