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 master (75fb96), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:29:28 UTC.

Swift 6 data race errors: 2

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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Configuration.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Configuration
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.97s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.52s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.06s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.62s)
Fetching https://github.com/apple/swift-log.git
[1/3709] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.39s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
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.2",
                  "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 (1.04s)
Fetching https://github.com/Kitura/FileKit.git from cache
Fetched https://github.com/Kitura/FileKit.git from cache (0.51s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (0.02s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.46s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
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.2
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/Configuration.git
Working copy of https://github.com/Kitura/Configuration.git resolved at master (75fb964)
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
warning: '.resolve-product-dependencies': dependency 'configuration' is not used by any target
Found 1 product dependencies
  - FileKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kitura/Configuration.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 -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--7754E27361AE5C74.txt
[6/10] Emitting module Logging
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging Locks.swift
[9/10] Compiling Logging Logging.swift
[10/10] Compiling Logging MetadataProvider.swift
[11/12] Compiling LoggerAPI Logger.swift
[12/12] Emitting module LoggerAPI
[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: annotate 'shared' 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
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: annotate 'shared' 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
25 |
26 |     /// A unique name that identifies this deserializer.
[17/20] Compiling Configuration Deserializer.swift
[18/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: annotate 'shared' 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
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: annotate 'shared' 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
25 |
26 |     /// A unique name that identifies this deserializer.
[19/20] Compiling Configuration ConfigurationNode.swift
[20/20] Compiling Configuration ConfigurationManager.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: annotate 'shared' 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
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: annotate 'shared' 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
25 |
26 |     /// A unique name that identifies this deserializer.
Build complete! (9.23s)
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.