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.1 for Linux on 27 Apr 2025 06:16:07 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Configuration.git
Reference: master
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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Configuration.git
https://github.com/Kitura/Configuration.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Kitura/FileKit.git
[1/298] Fetching filekit
Fetched https://github.com/Kitura/FileKit.git from cache (0.59s)
Computing version for https://github.com/Kitura/FileKit.git
Computed https://github.com/Kitura/FileKit.git at 1.1.0 (1.22s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.44s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (1.05s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.55s)
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.3
Creating working copy for https://github.com/Kitura/FileKit.git
Working copy of https://github.com/Kitura/FileKit.git resolved at 1.1.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging Locks.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging LogHandler.swift
[10/10] Compiling Logging Logging.swift
[12/13] Compiling LoggerAPI Logger.swift
[13/13] Emitting module LoggerAPI
[15/16] Emitting module FileKit
[16/16] Compiling FileKit FileKit.swift
[18/23] Compiling Configuration PLISTDeserializer.swift
/host/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.
[19/23] Compiling Configuration Deserializer.swift
[20/23] Compiling Configuration JSONDeserializer.swift
/host/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.
[21/23] Compiling Configuration ConfigurationNode.swift
[22/23] Emitting module Configuration
/host/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.
/host/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.
[23/23] Compiling Configuration ConfigurationManager.swift
Build complete! (14.72s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.