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.1 for Linux on 25 Apr 2025 09:38:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/nikstar/CLInterface.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nikstar/CLInterface.git
https://github.com/nikstar/CLInterface.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/nikstar/spm-argument-parser.git
[1/34281] Fetching spm-argument-parser
Fetched https://github.com/nikstar/spm-argument-parser.git from cache (1.50s)
Computing version for https://github.com/nikstar/spm-argument-parser.git
Computed https://github.com/nikstar/spm-argument-parser.git at 0.5.0 (4.21s)
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
Building for debugging...
[0/14] Write sources
[5/14] Compiling clibc libc.c
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/16] Emitting module SPMLibc
[9/16] Compiling SPMLibc libc.swift
[10/17] Wrapping AST for SPMLibc for debugging
[12/30] Compiling Basic StringConversions.swift
[13/31] Emitting module Basic
[14/31] Compiling Basic Tuple.swift
[15/31] Compiling Basic PathShims.swift
[16/31] Compiling Basic OutputByteStream.swift
[17/31] Compiling Basic Path.swift
[18/31] Compiling Basic DictionaryLiteralExtensions.swift
[19/31] Compiling Basic EditDistance.swift
[20/31] Compiling Basic CollectionExtensions.swift
[21/31] Compiling Basic DictionaryExtensions.swift
[22/31] Compiling Basic FileInfo.swift
[23/31] Compiling Basic FileSystem.swift
[24/31] Compiling Basic ByteString.swift
[25/31] Compiling Basic CollectionAlgorithms.swift
[26/32] Wrapping AST for Basic for debugging
[28/37] Compiling SPMArgumentParser CollectionExtensions.swift
[29/37] Compiling SPMArgumentParser StringExtensions.swift
[30/37] Compiling SPMArgumentParser ArgumentParserShellCompletion.swift
[31/37] Emitting module SPMArgumentParser
[32/37] Compiling SPMArgumentParser ArgumentParser.swift
[33/38] Wrapping AST for SPMArgumentParser for debugging
[35/46] Compiling CLInterface Mirror.swift
[36/46] Compiling CLInterface PositionalArgument.swift
[37/46] Compiling CLInterface Argument.swift
[38/46] Emitting module CLInterface
/host/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 {
[39/46] Compiling CLInterface Protocols.swift
/host/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 {
[40/46] Compiling CLInterface CommandLine.swift
[41/46] Compiling CLInterface CLInterfaceError.swift
[42/46] Compiling CLInterface CLInterface.swift
[43/47] Wrapping AST for CLInterface for debugging
[45/49] Emitting module ExampleSwiftc
[46/49] Compiling ExampleSwiftc main.swift
[47/50] Wrapping AST for ExampleSwiftc for debugging
[48/50] Write Objects.LinkFileList
[49/50] Linking ExampleSwiftc
Build complete! (20.74s)
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" : "/host/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"
}
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.