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 CLInterface, reference v1.0.3 (eaa702), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:52:45 UTC.

Swift 6 data race errors: 0

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/nikstar/CLInterface.git
Reference: v1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nikstar/CLInterface
 * tag               v1.0.3     -> FETCH_HEAD
HEAD is now at eaa7022 Move to self-hosted SPM ArgumentParser
Cloned https://github.com/nikstar/CLInterface.git
Revision (git rev-parse @):
eaa70221f5a42f43fccf1ce05eab5492a4938d4c
SUCCESS checkout https://github.com/nikstar/CLInterface.git at v1.0.3
Fetching https://github.com/nikstar/spm-argument-parser.git
[1/34281] Fetching spm-argument-parser
Fetched https://github.com/nikstar/spm-argument-parser.git from cache (1.92s)
Computing version for https://github.com/nikstar/spm-argument-parser.git
Computed https://github.com/nikstar/spm-argument-parser.git at 0.5.0 (2.44s)
Creating working copy for https://github.com/nikstar/spm-argument-parser.git
Working copy of https://github.com/nikstar/spm-argument-parser.git resolved at 0.5.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": "clinterface",
      "name": "CLInterface",
      "url": "https://github.com/nikstar/CLInterface.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLInterface",
      "dependencies": [
        {
          "identity": "spm-argument-parser",
          "name": "SPMArgumentParser",
          "url": "https://github.com/nikstar/spm-argument-parser.git",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/spm-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/nikstar/CLInterface.git
[1/299] Fetching clinterface
Fetched https://github.com/nikstar/CLInterface.git from cache (4.46s)
Fetching https://github.com/nikstar/spm-argument-parser.git from cache
Fetched https://github.com/nikstar/spm-argument-parser.git from cache (0.75s)
Computing version for https://github.com/nikstar/spm-argument-parser.git
Computed https://github.com/nikstar/spm-argument-parser.git at 0.5.0 (0.02s)
Creating working copy for https://github.com/nikstar/spm-argument-parser.git
Working copy of https://github.com/nikstar/spm-argument-parser.git resolved at 0.5.0
Creating working copy for https://github.com/nikstar/CLInterface.git
Working copy of https://github.com/nikstar/CLInterface.git resolved at v1.0.3 (eaa7022)
warning: '.resolve-product-dependencies': dependency 'clinterface' is not used by any target
Found 1 product dependencies
  - SPMArgumentParser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nikstar/CLInterface.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/11] Write sources
[5/11] Write ExampleSwiftc-entitlement.plist
[6/11] Compiling clibc libc.c
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/13] Emitting module SPMLibc
[10/13] Compiling SPMLibc libc.swift
[11/26] Compiling Basic StringConversions.swift
[12/26] Compiling Basic PathShims.swift
[13/27] Compiling Basic OutputByteStream.swift
[14/27] Compiling Basic DictionaryLiteralExtensions.swift
[15/27] Compiling Basic EditDistance.swift
[16/27] Compiling Basic FileInfo.swift
[17/27] Compiling Basic FileSystem.swift
[18/27] Emitting module Basic
[19/27] Compiling Basic Path.swift
[20/27] Compiling Basic ByteString.swift
[21/27] Compiling Basic CollectionAlgorithms.swift
[22/27] Compiling Basic CollectionExtensions.swift
[23/27] Compiling Basic DictionaryExtensions.swift
[24/27] Compiling Basic Tuple.swift
[25/32] Compiling SPMArgumentParser StringExtensions.swift
[26/32] Compiling SPMArgumentParser CollectionExtensions.swift
[27/32] Compiling SPMArgumentParser ArgumentParserShellCompletion.swift
[28/32] Compiling SPMArgumentParser ArgumentParser.swift
[29/32] Emitting module SPMArgumentParser
[30/40] Compiling CLInterface CLInterfaceError.swift
[31/40] Compiling CLInterface CommandLine.swift
[32/40] Compiling CLInterface Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLInterface/Argument Types/Protocols.swift:10:17: warning: protocol 'BaseArgumentType' should be declared to refine 'ArgumentKind' due to a same-type constraint on 'Self'
 8 |
 9 | // Base argument type is one of the types that can be passed as argument (String, Int, Bool)
10 | public protocol BaseArgumentType: ArgumentType where Base == Self {}
   |                 `- warning: protocol 'BaseArgumentType' should be declared to refine 'ArgumentKind' due to a same-type constraint on 'Self'
11 |
12 | extension String : BaseArgumentType {
[33/40] Compiling CLInterface CLInterface.swift
[34/40] Compiling CLInterface Mirror.swift
[35/40] Compiling CLInterface PositionalArgument.swift
[36/40] Compiling CLInterface Argument.swift
[37/40] Emitting module CLInterface
/Users/admin/builder/spi-builder-workspace/Sources/CLInterface/Argument Types/Protocols.swift:10:17: warning: protocol 'BaseArgumentType' should be declared to refine 'ArgumentKind' due to a same-type constraint on 'Self'
 8 |
 9 | // Base argument type is one of the types that can be passed as argument (String, Int, Bool)
10 | public protocol BaseArgumentType: ArgumentType where Base == Self {}
   |                 `- warning: protocol 'BaseArgumentType' should be declared to refine 'ArgumentKind' due to a same-type constraint on 'Self'
11 |
12 | extension String : BaseArgumentType {
[38/42] Compiling ExampleSwiftc main.swift
[39/42] Emitting module ExampleSwiftc
[39/42] Write Objects.LinkFileList
[40/42] Linking ExampleSwiftc
[41/42] Applying ExampleSwiftc
Build complete! (10.84s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "spm-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nikstar/spm-argument-parser.git"
    }
  ],
  "manifest_display_name" : "CLInterface",
  "name" : "CLInterface",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CLInterface",
      "targets" : [
        "CLInterface"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleSwiftc",
      "targets" : [
        "ExampleSwiftc"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExampleSwiftc",
      "module_type" : "SwiftTarget",
      "name" : "ExampleSwiftc",
      "path" : "Sources/ExampleSwiftc",
      "product_memberships" : [
        "ExampleSwiftc"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "CLInterface"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CLInterface",
      "module_type" : "SwiftTarget",
      "name" : "CLInterface",
      "path" : "Sources/CLInterface",
      "product_dependencies" : [
        "SPMArgumentParser"
      ],
      "product_memberships" : [
        "CLInterface",
        "ExampleSwiftc"
      ],
      "sources" : [
        "Argument Types/Argument.swift",
        "Argument Types/PositionalArgument.swift",
        "Argument Types/Protocols.swift",
        "CLInterface.swift",
        "CLInterfaceError.swift",
        "Helpers/CommandLine.swift",
        "Helpers/Mirror.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.