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 SshConfig, reference 1.0.1 (7974cd), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 03:21:51 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xxlabaza/SshConfig.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xxlabaza/SshConfig
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 7974cd3 Add CocoadPod support
Cloned https://github.com/xxlabaza/SshConfig.git
Revision (git rev-parse @):
7974cd36d2b8f9d841e9c9aa83b24581dfdf55be
SUCCESS checkout https://github.com/xxlabaza/SshConfig.git at 1.0.1
========================================
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": "sshconfig",
      "name": "SshConfig",
      "url": "https://github.com/xxlabaza/SshConfig.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SshConfig",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/xxlabaza/SshConfig.git
[2/169] Fetching sshconfig
Fetched https://github.com/xxlabaza/SshConfig.git from cache (0.74s)
Creating working copy for https://github.com/xxlabaza/SshConfig.git
Working copy of https://github.com/xxlabaza/SshConfig.git resolved at 1.0.1 (7974cd3)
warning: '.resolve-product-dependencies': dependency 'sshconfig' 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/xxlabaza/SshConfig.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/23] Emitting module SshConfig
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[4/25] Compiling SshConfig StringProtocol+toTokens.swift
[5/25] Compiling SshConfig StringProtocol+unquoted.swift
[6/25] Compiling SshConfig Pattern.swift
[7/25] Compiling SshConfig StringProtocol+Hex.swift
[8/25] Compiling SshConfig ssh.swift
[9/25] Compiling SshConfig CharacterSet+contains.swift
[10/25] Compiling SshConfig DecodingContext.swift
[11/25] Compiling SshConfig ConfigEncoder.swift
[12/25] Compiling SshConfig StringProtocol+firstCapitalized.swift
[13/25] Compiling SshConfig StringProtocol+isBlank.swift
[14/25] Compiling SshConfig Equatable+Error.swift
[15/25] Compiling SshConfig NoneAsNil.swift
[16/25] Compiling SshConfig ConfigSingleValueDecodingContainer.swift
[17/25] Compiling SshConfig ConfigUnkeyedDecodingContainer.swift
[18/25] Compiling SshConfig ConfigParser.swift
[19/25] Compiling SshConfig Tokenizer.swift
[20/25] Compiling SshConfig Properties.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[21/25] Compiling SshConfig ConfigDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[22/25] Compiling SshConfig ConfigDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[23/25] Compiling SshConfig Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[24/25] Compiling SshConfig Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
[25/25] Compiling SshConfig Host.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
  23 |   and their types, but you can find it in any SSH manual.
  24 |   */
  25 |   struct Properties: Equatable, Codable {
     |          `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
  26 |
  27 |     /**
     :
  39 |     ```
  40 |     */
  41 |     public static let defaults = Properties(
     |                       |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'defaults' 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
  42 |       addKeysToAgent: .no,
  43 |       addressFamily: .any,
Build complete! (14.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SshConfig",
  "name" : "SshConfig",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SshConfig",
      "targets" : [
        "SshConfig"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SshConfigTests",
      "module_type" : "SwiftTarget",
      "name" : "SshConfigTests",
      "path" : "Tests/SshConfigTests",
      "sources" : [
        "ConfigDecoderTests.swift",
        "ConfigEncoderTests.swift",
        "ConfigParserTests.swift",
        "ConfigResolveTests.swift",
        "ConfigTests.swift",
        "HostTests.swift",
        "PatternTests.swift",
        "TokenizerTests.swift",
        "UsageExample.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SshConfig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SshConfig",
      "module_type" : "SwiftTarget",
      "name" : "SshConfig",
      "path" : "Sources/SshConfig",
      "product_memberships" : [
        "SshConfig"
      ],
      "sources" : [
        "Config.swift",
        "Errors.swift",
        "Host.swift",
        "Properties.swift",
        "decoder/ConfigDecoder.swift",
        "decoder/ConfigDecodingContainer.swift",
        "decoder/ConfigSingleValueDecodingContainer.swift",
        "decoder/ConfigUnkeyedDecodingContainer.swift",
        "decoder/DecodingContext.swift",
        "encoder/ConfigEncoder.swift",
        "parser/ConfigParser.swift",
        "parser/Tokenizer.swift",
        "ssh.swift",
        "utils/CharacterSet+contains.swift",
        "utils/Equatable+Error.swift",
        "utils/NoneAsNil.swift",
        "utils/Pattern.swift",
        "utils/StringProtocol+Hex.swift",
        "utils/StringProtocol+firstCapitalized.swift",
        "utils/StringProtocol+isBlank.swift",
        "utils/StringProtocol+toTokens.swift",
        "utils/StringProtocol+unquoted.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.