The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Configuration, reference 3.1.0 (75fb96), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 06:20:10 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Configuration.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Configuration
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 75fb964 Update CI; Swift 5.2 is now minimum supported (#65)
Cloned https://github.com/Kitura/Configuration.git
Revision (git rev-parse @):
75fb96405263e72a2ed4546dceebe0993b92eb79
SUCCESS checkout https://github.com/Kitura/Configuration.git at 3.1.0
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.90s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (1.48s)
Fetching https://github.com/Kitura/LoggerAPI.git
[8/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.88s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (1.45s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.17s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.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": "configuration",
      "name": "Configuration",
      "url": "https://github.com/Kitura/Configuration.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Configuration",
      "dependencies": [
        {
          "identity": "filekit",
          "name": "FileKit",
          "url": "https://github.com/Kitura/FileKit.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileKit",
          "dependencies": [
            {
              "identity": "loggerapi",
              "name": "LoggerAPI",
              "url": "https://github.com/Kitura/LoggerAPI.git",
              "version": "2.0.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
              "dependencies": [
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.6.3",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kitura/Configuration.git
[1/1135] Fetching configuration
Fetched https://github.com/Kitura/Configuration.git from cache (0.95s)
Fetching https://github.com/Kitura/FileKit.git from cache
Fetched https://github.com/Kitura/FileKit.git from cache (0.43s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.47s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.49s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.54s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Creating working copy for https://github.com/Kitura/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at 3.1.0 (75fb964)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'configuration' is not used by any target
Found 1 product dependencies
  - FileKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Configuration.git
https://github.com/Kitura/Configuration.git
{
  "dependencies" : [
    {
      "identity" : "filekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/FileKit.git"
    }
  ],
  "manifest_display_name" : "Configuration",
  "name" : "Configuration",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Configuration",
      "targets" : [
        "Configuration"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConfigurationTests",
      "module_type" : "SwiftTarget",
      "name" : "ConfigurationTests",
      "path" : "Tests/ConfigurationTests",
      "sources" : [
        "ConfigurationManagerTest.swift",
        "ConfigurationNodeTest.swift",
        "LinuxSafeguardTest.swift"
      ],
      "target_dependencies" : [
        "Configuration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Configuration",
      "module_type" : "SwiftTarget",
      "name" : "Configuration",
      "path" : "Sources/Configuration",
      "product_dependencies" : [
        "FileKit"
      ],
      "product_memberships" : [
        "Configuration"
      ],
      "sources" : [
        "ConfigurationManager.swift",
        "ConfigurationNode.swift",
        "Deserializer.swift",
        "Deserializers/JSONDeserializer.swift",
        "Deserializers/PLISTDeserializer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling Logging Locks.swift
[7/10] Compiling Logging MetadataProvider.swift
[8/10] Compiling Logging LogHandler.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[11/12] Emitting module LoggerAPI
[12/12] Compiling LoggerAPI Logger.swift
[13/14] Compiling FileKit FileKit.swift
[14/14] Emitting module FileKit
[15/20] Compiling Configuration PLISTDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
   |              `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 |     /// A shared `PLISTDeserializer` instance.
24 |     public static let shared = PLISTDeserializer()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     /// A unique name that identifies this deserializer.
[16/20] Compiling Configuration JSONDeserializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
   |              `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 |     /// A shared `JSONDeserializer` instance.
24 |     public static let shared = JSONDeserializer()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     /// A unique name that identifies this deserializer.
[17/20] Compiling Configuration Deserializer.swift
[18/20] Compiling Configuration ConfigurationNode.swift
[19/20] Compiling Configuration ConfigurationManager.swift
[20/20] Emitting module Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/JSONDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes JSON formatted data using Foundation's JSONSerialization class.
22 | public class JSONDeserializer: Deserializer {
   |              `- note: class 'JSONDeserializer' does not conform to the 'Sendable' protocol
23 |     /// A shared `JSONDeserializer` instance.
24 |     public static let shared = JSONDeserializer()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JSONDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     /// A unique name that identifies this deserializer.
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Deserializers/PLISTDeserializer.swift:24:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Deserializes PLIST formatted data using Foundation's PropertListSerialization class.
22 | public class PLISTDeserializer: Deserializer {
   |              `- note: class 'PLISTDeserializer' does not conform to the 'Sendable' protocol
23 |     /// A shared `PLISTDeserializer` instance.
24 |     public static let shared = PLISTDeserializer()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PLISTDeserializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     /// A unique name that identifies this deserializer.
Build complete! (7.10s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "filekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/FileKit.git"
    }
  ],
  "manifest_display_name" : "Configuration",
  "name" : "Configuration",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Configuration",
      "targets" : [
        "Configuration"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConfigurationTests",
      "module_type" : "SwiftTarget",
      "name" : "ConfigurationTests",
      "path" : "Tests/ConfigurationTests",
      "sources" : [
        "ConfigurationManagerTest.swift",
        "ConfigurationNodeTest.swift",
        "LinuxSafeguardTest.swift"
      ],
      "target_dependencies" : [
        "Configuration"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Configuration",
      "module_type" : "SwiftTarget",
      "name" : "Configuration",
      "path" : "Sources/Configuration",
      "product_dependencies" : [
        "FileKit"
      ],
      "product_memberships" : [
        "Configuration"
      ],
      "sources" : [
        "ConfigurationManager.swift",
        "ConfigurationNode.swift",
        "Deserializer.swift",
        "Deserializers/JSONDeserializer.swift",
        "Deserializers/PLISTDeserializer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.