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 1.0.2 (389fce), with Swift 6.0 for Linux on 28 Nov 2024 08:21:10 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-calendar/icalendarkit.git
Reference: 1.0.2
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
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-calendar/icalendarkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swift-calendar/vcomponentkit.git
[1/147] Fetching vcomponentkit
Fetched https://github.com/swift-calendar/vcomponentkit.git from cache (0.19s)
Computing version for https://github.com/swift-calendar/vcomponentkit.git
Computed https://github.com/swift-calendar/vcomponentkit.git at 1.0.5 (0.47s)
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] Compiling VComponentKit VContentLine.swift
[7/14] Compiling VComponentKit UUID+VPropertyEncodable.swift
[8/14] Compiling VComponentKit String+VPropertyEncodable.swift
[9/14] Compiling VComponentKit String+Utilities.swift
[10/14] Compiling VComponentKit Int+VPropertyEncodable.swift
[11/14] Compiling VComponentKit VEncodable.swift
[12/14] Compiling VComponentKit VPropertyEncodable.swift
[13/14] Compiling VComponentKit URL+VPropertyEncodable.swift
[14/14] Emitting module VComponentKit
[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 '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
[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 '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
[20/32] Compiling ICalendarKit DaylightComponent.swift
[21/32] Compiling ICalendarKit StandardComponent.swift
[22/32] Compiling ICalendarKit ICalendarJournal.swift
[23/32] Compiling ICalendarKit ICalendarToDo.swift
[24/32] Compiling ICalendarKit ICalendarEvent.swift
[25/32] Compiling ICalendarKit ICalendarFreeBusy.swift
[26/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.
[27/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.
[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 '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: 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! (14.22s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.