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 Outils, reference 0.0.5 (21c4e4), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 13:35:27 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 -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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/Outils.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vsanthanam/Outils
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 21c4e48 Fix typo in generator script
Cloned https://github.com/vsanthanam/Outils.git
Revision (git rev-parse @):
21c4e48550870a6e526c37a23308bd2fb7b9d4fa
SUCCESS checkout https://github.com/vsanthanam/Outils.git at 0.0.5
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[226/5225] Fetching swift-docc-plugin, swift-docc-symbolkit
[5226/51003] Fetching swift-docc-plugin, swift-docc-symbolkit, swiftformat
Fetched https://github.com/apple/swift-docc-plugin from cache (101.58s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (101.58s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (101.58s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.51.7 (3.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.62s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.51.7
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.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": "outils",
      "name": "Outils",
      "url": "https://github.com/vsanthanam/Outils.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Outils",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vsanthanam/Outils.git
[4/351] Fetching outils
Fetched https://github.com/vsanthanam/Outils.git from cache (0.97s)
Creating working copy for https://github.com/vsanthanam/Outils.git
Working copy of https://github.com/vsanthanam/Outils.git resolved at 0.0.5 (21c4e48)
warning: '.resolve-product-dependencies': dependency 'outils' 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/vsanthanam/Outils.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.51.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "Outils",
  "name" : "Outils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Outils",
      "targets" : [
        "Outils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OutilsTests",
      "module_type" : "SwiftTarget",
      "name" : "OutilsTests",
      "path" : "Tests/OutilsTests",
      "sources" : [
        "OutilsTests.swift"
      ],
      "target_dependencies" : [
        "Outils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Outils",
      "module_type" : "SwiftTarget",
      "name" : "Outils",
      "path" : "Sources/Outils",
      "product_memberships" : [
        "Outils"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "BundleExtensions.swift",
        "Casting.swift",
        "CollectionExtensions.swift",
        "ErrorMessage.swift",
        "OptionalExtensions.swift",
        "OptionalType.swift",
        "ProcessEnvironment.swift",
        "StringExtensions.swift",
        "SwiftUI/ColorExtensions.swift",
        "SwiftUI/EnvironmentValuesExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/16] Compiling Outils ColorExtensions.swift
[7/17] Compiling Outils OptionalExtensions.swift
[8/17] Compiling Outils ErrorMessage.swift
[9/17] Compiling Outils Casting.swift
[10/17] Emitting module Outils
/Users/admin/builder/spi-builder-workspace/Sources/Outils/ProcessEnvironment.swift:30:23: warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum ProcessEnvironment {
29 |
30 |     public static let variables = Variables()
   |                       |- warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'variables' 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
31 |
32 |     public static var arguments: [String] {
   :
34 |     }
35 |
36 |     public struct Variables {
   |                   `- note: consider making struct 'Variables' conform to the 'Sendable' protocol
37 |         public subscript<T>(_ key: String) -> T where T: EnvironmentVariableRepresentable {
38 |             value(forKey: key)
[11/17] Compiling Outils CollectionExtensions.swift
[12/17] Compiling Outils StringExtensions.swift
[13/17] Compiling Outils ArrayExtensions.swift
[14/17] Compiling Outils BundleExtensions.swift
[15/17] Compiling Outils OptionalType.swift
[16/17] Compiling Outils ProcessEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Outils/ProcessEnvironment.swift:30:23: warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum ProcessEnvironment {
29 |
30 |     public static let variables = Variables()
   |                       |- warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'variables' 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
31 |
32 |     public static var arguments: [String] {
   :
34 |     }
35 |
36 |     public struct Variables {
   |                   `- note: consider making struct 'Variables' conform to the 'Sendable' protocol
37 |         public subscript<T>(_ key: String) -> T where T: EnvironmentVariableRepresentable {
38 |             value(forKey: key)
[17/17] Compiling Outils EnvironmentValuesExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Outils/ProcessEnvironment.swift:30:23: warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum ProcessEnvironment {
29 |
30 |     public static let variables = Variables()
   |                       |- warning: static property 'variables' is not concurrency-safe because non-'Sendable' type 'ProcessEnvironment.Variables' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'variables' 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
31 |
32 |     public static var arguments: [String] {
   :
34 |     }
35 |
36 |     public struct Variables {
   |                   `- note: consider making struct 'Variables' conform to the 'Sendable' protocol
37 |         public subscript<T>(_ key: String) -> T where T: EnvironmentVariableRepresentable {
38 |             value(forKey: key)
Build complete! (26.90s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.51.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "Outils",
  "name" : "Outils",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Outils",
      "targets" : [
        "Outils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OutilsTests",
      "module_type" : "SwiftTarget",
      "name" : "OutilsTests",
      "path" : "Tests/OutilsTests",
      "sources" : [
        "OutilsTests.swift"
      ],
      "target_dependencies" : [
        "Outils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Outils",
      "module_type" : "SwiftTarget",
      "name" : "Outils",
      "path" : "Sources/Outils",
      "product_memberships" : [
        "Outils"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "BundleExtensions.swift",
        "Casting.swift",
        "CollectionExtensions.swift",
        "ErrorMessage.swift",
        "OptionalExtensions.swift",
        "OptionalType.swift",
        "ProcessEnvironment.swift",
        "StringExtensions.swift",
        "SwiftUI/ColorExtensions.swift",
        "SwiftUI/EnvironmentValuesExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.