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 Linux on 26 Apr 2025 17:20:12 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-calendar/icalendarkit.git
Reference: master
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/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-calendar/icalendarkit.git
https://github.com/swift-calendar/icalendarkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swift-calendar/vcomponentkit.git
[1/147] Fetching vcomponentkit
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.21s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (0.76s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling VComponentKit VComponent.swift
[5/13] Compiling VComponentKit Bool+VPropertyEncodable.swift
[6/14] Emitting module VComponentKit
[7/14] Compiling VComponentKit VEncodable.swift
[8/14] Compiling VComponentKit VPropertyEncodable.swift
[9/14] Compiling VComponentKit UUID+VPropertyEncodable.swift
[10/14] Compiling VComponentKit URL+VPropertyEncodable.swift
[11/14] Compiling VComponentKit String+Utilities.swift
[12/14] Compiling VComponentKit Int+VPropertyEncodable.swift
[13/14] Compiling VComponentKit String+VPropertyEncodable.swift
[14/14] Compiling VComponentKit VContentLine.swift
[16/30] Compiling ICalendarKit TimeZoneComponent.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
[17/30] Compiling ICalendarKit Date+VPropertyEncodable.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
[18/32] Compiling ICalendarKit DaylightComponent.swift
[19/32] Compiling ICalendarKit StandardComponent.swift
[20/32] Compiling ICalendarKit ICalendarGeographicPosition.swift
[21/32] Compiling ICalendarKit ICalendarMicrosoftExtensions.swift
[22/32] Compiling ICalendarKit ICalendarDate.swift
/host/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.
[23/32] Compiling ICalendarKit ICalendarDuration.swift
/host/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.
[24/32] Compiling ICalendarKit ICalendarEvent.swift
[25/32] Compiling ICalendarKit ICalendarFreeBusy.swift
[26/32] Compiling ICalendarKit ICalendarJournal.swift
[27/32] Compiling ICalendarKit ICalendarToDo.swift
[28/32] Compiling ICalendarKit ICalendar.swift
[29/32] Compiling ICalendarKit ICalendarAlarm.swift
[30/32] Emitting module ICalendarKit
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
  | `- note: add '@retroactive' to silence this warning
5 |     public var vEncoded: String {
6 |         ICalendarDate(date: self).vEncoded
/host/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.
[31/32] Compiling ICalendarKit ICalendarProductIdentifier.swift
[32/32] Compiling ICalendarKit ICalendarRecurrenceRule.swift
Build complete! (9.14s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.