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 Linux on 26 Nov 2024 16:52:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nikstar/CLInterface.git
Reference: v1.0.3
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nikstar/CLInterface.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.09s)
Computing version for https://github.com/nikstar/spm-argument-parser.git
Computed https://github.com/nikstar/spm-argument-parser.git at 0.5.0 (1.84s)
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] Compiling Basic Tuple.swift
[14/31] Compiling Basic ByteString.swift
[15/31] Compiling Basic CollectionAlgorithms.swift
[16/31] Emitting module Basic
[17/31] Compiling Basic OutputByteStream.swift
[18/31] Compiling Basic Path.swift
[19/31] Compiling Basic PathShims.swift
[20/31] Compiling Basic DictionaryLiteralExtensions.swift
[21/31] Compiling Basic EditDistance.swift
[22/31] Compiling Basic FileInfo.swift
[23/31] Compiling Basic FileSystem.swift
[24/31] Compiling Basic CollectionExtensions.swift
[25/31] Compiling Basic DictionaryExtensions.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 CommandLine.swift
[36/46] Compiling CLInterface Mirror.swift
[37/46] Compiling CLInterface CLInterfaceError.swift
[38/46] Compiling CLInterface CLInterface.swift
[39/46] Compiling CLInterface PositionalArgument.swift
[40/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 {
[41/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 {
[42/46] Compiling CLInterface Argument.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! (16.96s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.