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 master (ee89d9), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:57:30 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nikstar/CLInterface
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ee89d90 Update README.md
Cloned https://github.com/nikstar/CLInterface.git
Revision (git rev-parse @):
ee89d90290411126a359a9d33419ec6b5a9225d1
SUCCESS checkout https://github.com/nikstar/CLInterface.git at master
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.89s)
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.47s)
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
[3/299] Fetching clinterface
Fetched https://github.com/nikstar/CLInterface.git from cache (0.72s)
Fetching https://github.com/nikstar/spm-argument-parser.git from cache
Fetched https://github.com/nikstar/spm-argument-parser.git from cache (0.80s)
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 master (ee89d90)
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
[4/11] Write ExampleSwiftc-entitlement.plist
[4/11] Write sources
[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/27] Compiling Basic Tuple.swift
[13/27] Compiling Basic Path.swift
[14/27] Compiling Basic PathShims.swift
[15/27] Compiling Basic OutputByteStream.swift
[16/27] Compiling Basic FileInfo.swift
[17/27] Compiling Basic DictionaryLiteralExtensions.swift
[18/27] Compiling Basic EditDistance.swift
[19/27] Compiling Basic CollectionExtensions.swift
[20/27] Compiling Basic DictionaryExtensions.swift
[21/27] Emitting module Basic
[22/27] Compiling Basic ByteString.swift
[23/27] Compiling Basic CollectionAlgorithms.swift
[24/27] Compiling Basic FileSystem.swift
[25/32] Compiling SPMArgumentParser CollectionExtensions.swift
[26/32] Compiling SPMArgumentParser StringExtensions.swift
[27/32] Compiling SPMArgumentParser ArgumentParserShellCompletion.swift
[28/32] Compiling SPMArgumentParser ArgumentParser.swift
[29/32] Emitting module SPMArgumentParser
[30/40] Compiling CLInterface CommandLine.swift
[31/40] Compiling CLInterface CLInterface.swift
[32/40] Compiling CLInterface PositionalArgument.swift
[33/40] Compiling CLInterface Mirror.swift
[34/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 {
[35/40] Compiling CLInterface CLInterfaceError.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] Emitting module ExampleSwiftc
[39/42] Compiling ExampleSwiftc main.swift
[39/42] Write Objects.LinkFileList
[40/42] Linking ExampleSwiftc
[41/42] Applying ExampleSwiftc
Build complete! (11.07s)
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.