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 DateBuilder, reference 0.1.4 (374ca5), with Swift 6.0 for Linux on 29 Nov 2024 13:52:18 UTC.

Swift 6 data race errors: 15

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/DateBuilder.git
Reference: 0.1.4
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/dreymonde/DateBuilder
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at 374ca55 add `weekday` to `dateComponents` resolved from a `Date`
Cloned https://github.com/dreymonde/DateBuilder.git
Revision (git rev-parse @):
374ca554ed132f84bc97158901e6208c9608a6bc
SUCCESS checkout https://github.com/dreymonde/DateBuilder.git at 0.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dreymonde/DateBuilder.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module DateBuilder
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:4:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public enum DateBuilder {
  4 |     private static var _calendar = { Calendar.current }
    |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate '_calendar' 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
  5 |     public static var calendar: Calendar {
  6 |         get {
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:322:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
320 |     public let delayForNumber: (_ number: Int, _ totalCount: Int) -> Int
321 |
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'normal' 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
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:324:23: warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
    |                       |- warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'optimized' 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
325 |         let breakpoint = totalCount / 2
326 |         if number <= breakpoint {
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:397:31: warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
    |                               |- warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'sunday' 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
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:398:31: warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
    |                               |- warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'monday' 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
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:399:31: warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
    |                               |- warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'tuesday' 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
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:400:31: warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
    |                               |- warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'wednesday' 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
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:401:31: warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
    |                               |- warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'thursday' 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
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:402:31: warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
    |                               |- warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'friday' 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
403 |             public static let saturday: GregorianWeekday = 7
404 |
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:403:31: warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
    |                               |- warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'saturday' 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
404 |
405 |             public typealias IntegerLiteralType = Int
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:582:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
    |                           |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'first' 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
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:583:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'second' 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
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:584:27: warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
    |                           |- warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'third' 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
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:585:27: warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
    |                           |- warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fourth' 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
586 |         public static let fifth = Ordinal(rawValue: 5)
587 |
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:586:27: warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
    |                           |- warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fifth' 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
587 |
588 |         public init(rawValue: Int) {
[4/4] Compiling DateBuilder DateBuilder.swift
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:4:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public enum DateBuilder {
  4 |     private static var _calendar = { Calendar.current }
    |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate '_calendar' 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
  5 |     public static var calendar: Calendar {
  6 |         get {
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:322:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
320 |     public let delayForNumber: (_ number: Int, _ totalCount: Int) -> Int
321 |
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'normal' 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
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:324:23: warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
    |                       |- warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'optimized' 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
325 |         let breakpoint = totalCount / 2
326 |         if number <= breakpoint {
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:397:31: warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
    |                               |- warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'sunday' 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
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:398:31: warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
    |                               |- warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'monday' 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
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:399:31: warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
    |                               |- warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'tuesday' 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
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:400:31: warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
    |                               |- warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'wednesday' 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
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:401:31: warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
    |                               |- warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'thursday' 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
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:402:31: warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
    |                               |- warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'friday' 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
403 |             public static let saturday: GregorianWeekday = 7
404 |
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:403:31: warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
    |                               |- warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'saturday' 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
404 |
405 |             public typealias IntegerLiteralType = Int
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:582:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
    |                           |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'first' 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
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:583:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'second' 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
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:584:27: warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
    |                           |- warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'third' 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
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:585:27: warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
    |                           |- warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fourth' 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
586 |         public static let fifth = Ordinal(rawValue: 5)
587 |
/host/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:586:27: warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
    |                           |- warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fifth' 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
587 |
588 |         public init(rawValue: Int) {
Build complete! (8.84s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DateBuilder",
  "name" : "DateBuilder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "DateBuilder",
      "targets" : [
        "DateBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DateBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "DateBuilderTests",
      "path" : "Tests/DateBuilderTests",
      "sources" : [
        "DateBuilderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DateBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DateBuilder",
      "module_type" : "SwiftTarget",
      "name" : "DateBuilder",
      "path" : "Sources/DateBuilder",
      "product_memberships" : [
        "DateBuilder"
      ],
      "sources" : [
        "DateBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.