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 Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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.0
Building package at path:  $workDir
https://github.com/swift-calendar/icalendarkit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/swift-calendar/vcomponentkit.git
[1/147] Fetching vcomponentkit
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.23s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (0.52s)
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/13] Compiling VComponentKit VEncodable.swift
[7/13] Compiling VComponentKit VPropertyEncodable.swift
[8/13] Emitting module VComponentKit
[9/13] Compiling VComponentKit Int+VPropertyEncodable.swift
[10/14] Compiling VComponentKit UUID+VPropertyEncodable.swift
[11/14] Compiling VComponentKit VContentLine.swift
[12/14] Compiling VComponentKit String+VPropertyEncodable.swift
[13/14] Compiling VComponentKit String+Utilities.swift
[14/14] Compiling VComponentKit URL+VPropertyEncodable.swift
[16/30] Compiling ICalendarKit ICalendarGeographicPosition.swift
[17/30] Compiling ICalendarKit ICalendarMicrosoftExtensions.swift
[18/32] 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 '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
[19/32] 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 '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
[20/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: 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/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: 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.
[22/32] Compiling ICalendarKit DaylightComponent.swift
[23/32] Compiling ICalendarKit StandardComponent.swift
[24/32] Compiling ICalendarKit ICalendarJournal.swift
[25/32] Compiling ICalendarKit ICalendarToDo.swift
[26/32] Compiling ICalendarKit ICalendarEvent.swift
[27/32] Compiling ICalendarKit ICalendarFreeBusy.swift
[28/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 '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
/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: 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.
[29/32] Compiling ICalendarKit ICalendar.swift
[30/32] Compiling ICalendarKit ICalendarAlarm.swift
[31/32] Compiling ICalendarKit ICalendarProductIdentifier.swift
[32/32] Compiling ICalendarKit ICalendarRecurrenceRule.swift
Build complete! (16.63s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.