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 JulianDayNumber, reference 0.6.0 (17820a), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:59:10 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/JulianDayNumber.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/JulianDayNumber
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 17820a5 Fix for dates belonging to previous year (#34)
Cloned https://github.com/sbooth/JulianDayNumber.git
Revision (git rev-parse @):
17820a58c74891ab8801aef35d7188fbcd2931af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/JulianDayNumber.git at 0.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "juliandaynumber",
      "name": "JulianDayNumber",
      "url": "https://github.com/sbooth/JulianDayNumber.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JulianDayNumber",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sbooth/JulianDayNumber.git
[1/2544] Fetching juliandaynumber
Fetched https://github.com/sbooth/JulianDayNumber.git from cache (0.98s)
Creating working copy for https://github.com/sbooth/JulianDayNumber.git
Working copy of https://github.com/sbooth/JulianDayNumber.git resolved at 0.6.0 (17820a5)
warning: '.resolve-product-dependencies': dependency 'juliandaynumber' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sbooth/JulianDayNumber.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/24] Emitting module JulianDayNumber
/Users/admin/builder/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | 	/// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | 	/// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | 	public static var j2000 = Date(julianDate: J2000JD_UTC)
   |                    |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'j2000' 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
52 | }
53 |
[4/26] Compiling JulianDayNumber SakaCalendar.swift
[5/26] Compiling JulianDayNumber SyrianCalendar.swift
[6/26] Compiling JulianDayNumber ArmenianCalendar.swift
[7/26] Compiling JulianDayNumber AstronomicalCalendar.swift
[8/26] Compiling JulianDayNumber BahaiCalendar.swift
[9/26] Compiling JulianDayNumber JulianCalendar.swift
[10/26] Compiling JulianDayNumber JulianDayNumberConverting.swift
[11/26] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[12/26] Compiling JulianDayNumber JDNSakaConverter.swift
[13/26] Compiling JulianDayNumber HebrewCalendar.swift
[14/26] Compiling JulianDayNumber ISOCalendar.swift
[15/26] Compiling JulianDayNumber CopticCalendar.swift
/Users/admin/builder/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | 	/// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | 	/// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | 	public static var j2000 = Date(julianDate: J2000JD_UTC)
   |                    |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'j2000' 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
52 | }
53 |
[16/26] Compiling JulianDayNumber Date+JD.swift
/Users/admin/builder/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | 	/// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | 	/// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | 	public static var j2000 = Date(julianDate: J2000JD_UTC)
   |                    |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'j2000' 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
52 | }
53 |
[17/26] Compiling JulianDayNumber EgyptianCalendar.swift
/Users/admin/builder/spi-builder-workspace/Sources/JulianDayNumber/Date+JD.swift:51:20: warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | 	/// | TT | 2000-01-01 12:00:00 | 2451545.0 |
50 | 	/// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
51 | 	public static var j2000 = Date(julianDate: J2000JD_UTC)
   |                    |- warning: static property 'j2000' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'j2000' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'j2000' 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
52 | }
53 |
[18/26] Compiling JulianDayNumber EthiopianCalendar.swift
[19/26] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[20/26] Compiling JulianDayNumber GregorianCalendar.swift
[21/26] Compiling JulianDayNumber KhwarizmianCalendar.swift
[22/26] Compiling JulianDayNumber MacedonianCalendar.swift
[23/26] Compiling JulianDayNumber MayaCalendar.swift
[24/26] Compiling JulianDayNumber PersianCalendar.swift
[25/26] Compiling JulianDayNumber IslamicCalendar.swift
[26/26] Compiling JulianDayNumber JDNConverter.swift
Build complete! (21.18s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JulianDayNumber",
  "name" : "JulianDayNumber",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JulianDayNumber",
      "targets" : [
        "JulianDayNumber"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JulianDayNumberTests",
      "module_type" : "SwiftTarget",
      "name" : "JulianDayNumberTests",
      "path" : "Tests/JulianDayNumberTests",
      "sources" : [
        "ArmenianCalendarTests.swift",
        "AstronomicalCalendarTests.swift",
        "BahaiCalendarTests.swift",
        "CongruenceTests.swift",
        "CopticCalendarTests.swift",
        "Date+JDTests.swift",
        "EgyptianCalendarTests.swift",
        "EthiopianCalendarTests.swift",
        "FrenchRepublicanCalendarTests.swift",
        "GregorianCalendarTests.swift",
        "HebrewCalendarTests.swift",
        "ISOCalendarTests.swift",
        "IslamicCalendarTests.swift",
        "JDNRoundTripTests.swift",
        "JulianCalendarTests.swift",
        "KhwarizmianCalendarTests.swift",
        "MacedonianCalendarTests.swift",
        "MayaCalendarTests.swift",
        "PersianCalendarTests.swift",
        "SakaCalendarTests.swift",
        "SyrianCalendarTests.swift"
      ],
      "target_dependencies" : [
        "JulianDayNumber"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JulianDayNumber",
      "module_type" : "SwiftTarget",
      "name" : "JulianDayNumber",
      "path" : "Sources/JulianDayNumber",
      "product_memberships" : [
        "JulianDayNumber"
      ],
      "sources" : [
        "ArmenianCalendar.swift",
        "AstronomicalCalendar.swift",
        "BahaiCalendar.swift",
        "CopticCalendar.swift",
        "Date+JD.swift",
        "EgyptianCalendar.swift",
        "EthiopianCalendar.swift",
        "FrenchRepublicanCalendar.swift",
        "GregorianCalendar.swift",
        "HebrewCalendar.swift",
        "ISOCalendar.swift",
        "IslamicCalendar.swift",
        "JDNConverter.swift",
        "JDNGregorianTypeConverter.swift",
        "JDNSakaConverter.swift",
        "JulianCalendar.swift",
        "JulianDayNumberConverting.swift",
        "KhwarizmianCalendar.swift",
        "MacedonianCalendar.swift",
        "MayaCalendar.swift",
        "PersianCalendar.swift",
        "SakaCalendar.swift",
        "SyrianCalendar.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/sbooth/juliandaynumber/0.6.0
Repository:               sbooth/JulianDayNumber
Swift version used:       6.0
Target:                   JulianDayNumber
Extracting symbol information for 'JulianDayNumber'...
Finished extracting symbol information for 'JulianDayNumber'. (3.35s)
Building documentation for 'JulianDayNumber'...
warning: Parameter 'date' not found in type method declaration
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:25:6-26:6
23 | 	/// Returns `true` if the specified year, month, and day form a valid date in the astromical calendar.
24 | 	///
25 + 	/// - parameter date: A date to convert.
   |      ╰─suggestion: Remove 'date' parameter documentation
26 + 	///
27 | 	/// - returns: `true` if the specified year, month, and day form a valid date in the astromical calendar.
28 | 	public static func isDateValid(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'Y' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:26:6-26:6
24 | 	///
25 | 	/// - parameter date: A date to convert.
26 + 	///
   |      ╰─suggestion: Document 'Y' parameter
27 | 	/// - returns: `true` if the specified year, month, and day form a valid date in the astromical calendar.
28 | 	public static func isDateValid(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'M' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:26:6-26:6
24 | 	///
25 | 	/// - parameter date: A date to convert.
26 + 	///
   |      ╰─suggestion: Document 'M' parameter
27 | 	/// - returns: `true` if the specified year, month, and day form a valid date in the astromical calendar.
28 | 	public static func isDateValid(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'D' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:26:6-26:6
24 | 	///
25 | 	/// - parameter date: A date to convert.
26 + 	///
   |      ╰─suggestion: Document 'D' parameter
27 | 	/// - returns: `true` if the specified year, month, and day form a valid date in the astromical calendar.
28 | 	public static func isDateValid(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'date' not found in type method declaration
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:34:6-35:6
32 | 	/// Returns `true` if the specified year, month, and day occurred before the Gregorian calendar took effect.
33 | 	///
34 + 	/// - parameter date: A date to convert consisting of a year number, a month number between `1` (January) and `12` (December), and a day number between `1` and the maximum number of days in the specified month and year.
   |      ╰─suggestion: Remove 'date' parameter documentation
35 + 	///
36 | 	/// - returns: `true` if the specified year, month, and day occurred before the Gregorian calendar took effect.
37 | 	public static func isJulian(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'D' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:35:6-35:6
33 | 	///
34 | 	/// - parameter date: A date to convert consisting of a year number, a month number between `1` (January) and `12` (December), and a day number between `1` and the maximum number of days in the specified month and year.
35 + 	///
   |      ╰─suggestion: Document 'D' parameter
36 | 	/// - returns: `true` if the specified year, month, and day occurred before the Gregorian calendar took effect.
37 | 	public static func isJulian(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'Y' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:35:6-35:6
33 | 	///
34 | 	/// - parameter date: A date to convert consisting of a year number, a month number between `1` (January) and `12` (December), and a day number between `1` and the maximum number of days in the specified month and year.
35 + 	///
   |      ╰─suggestion: Document 'Y' parameter
36 | 	/// - returns: `true` if the specified year, month, and day occurred before the Gregorian calendar took effect.
37 | 	public static func isJulian(year Y: Year, month M: Month, day D: Day) -> Bool {
warning: Parameter 'M' is missing documentation
  --> Sources/JulianDayNumber/AstronomicalCalendar.swift:35:6-35:6
33 | 	///
34 | 	/// - parameter date: A date to convert consisting of a year number, a month number between `1` (January) and `12` (December), and a day number between `1` and the maximum number of days in the specified month and year.
35 + 	///
   |      ╰─suggestion: Document 'M' parameter
36 | 	/// - returns: `true` if the specified year, month, and day occurred before the Gregorian calendar took effect.
37 | 	public static func isJulian(year Y: Year, month M: Month, day D: Day) -> Bool {Finished building documentation for 'JulianDayNumber' (0.34s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sbooth/juliandaynumber/0.6.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Emitting module SymbolKit
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit DeclarationFragments.swift
[35/57] Compiling SymbolKit Fragment.swift
[36/57] Compiling SymbolKit FragmentKind.swift
[37/57] Compiling SymbolKit FunctionParameter.swift
[38/57] Compiling SymbolKit FunctionSignature.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.57s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/23] Emitting module JulianDayNumber
[3/25] Compiling JulianDayNumber ArmenianCalendar.swift
[4/25] Compiling JulianDayNumber AstronomicalCalendar.swift
[5/25] Compiling JulianDayNumber BahaiCalendar.swift
[6/25] Compiling JulianDayNumber EthiopianCalendar.swift
[7/25] Compiling JulianDayNumber FrenchRepublicanCalendar.swift
[8/25] Compiling JulianDayNumber GregorianCalendar.swift
[9/25] Compiling JulianDayNumber SakaCalendar.swift
[10/25] Compiling JulianDayNumber SyrianCalendar.swift
[11/25] Compiling JulianDayNumber JDNGregorianTypeConverter.swift
[12/25] Compiling JulianDayNumber JDNSakaConverter.swift
[13/25] Compiling JulianDayNumber KhwarizmianCalendar.swift
[14/25] Compiling JulianDayNumber MacedonianCalendar.swift
[15/25] Compiling JulianDayNumber IslamicCalendar.swift
[16/25] Compiling JulianDayNumber JDNConverter.swift
[17/25] Compiling JulianDayNumber JulianCalendar.swift
[18/25] Compiling JulianDayNumber JulianDayNumberConverting.swift
[19/25] Compiling JulianDayNumber MayaCalendar.swift
[20/25] Compiling JulianDayNumber PersianCalendar.swift
[21/25] Compiling JulianDayNumber CopticCalendar.swift
[22/25] Compiling JulianDayNumber Date+JD.swift
[23/25] Compiling JulianDayNumber EgyptianCalendar.swift
[24/25] Compiling JulianDayNumber HebrewCalendar.swift
[25/25] Compiling JulianDayNumber ISOCalendar.swift
Build of target: 'JulianDayNumber' complete! (1.17s)
     792
7	/Users/admin/builder/spi-builder-workspace/.docs/sbooth/juliandaynumber/0.6.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sbooth/juliandaynumber/0.6.0
File count: 792
Doc size:   7.0MB
Preparing doc bundle ...
Uploading prod-sbooth-juliandaynumber-0.6.0-95dca4ae.zip to s3://spi-docs-inbox/prod-sbooth-juliandaynumber-0.6.0-95dca4ae.zip
Copying... [15%]
Copying... [25%]
Copying... [34%]
Copying... [44%]
Copying... [54%]
Copying... [64%]
Copying... [74%]
Copying... [84%]
Copying... [93%]
Copying... [100%]
Done.