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 31 Oct 2024 04:15:48 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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-0":/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 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.25s)
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.73s)
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] Compiling SPMLibc libc.swift
[9/16] Emitting module SPMLibc
[10/17] Wrapping AST for SPMLibc for debugging
[12/30] Compiling Basic StringConversions.swift
[13/31] Compiling Basic ByteString.swift
[14/31] Compiling Basic CollectionAlgorithms.swift
[15/31] Emitting module Basic
[16/31] Compiling Basic Tuple.swift
[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 CollectionExtensions.swift
[23/31] Compiling Basic DictionaryExtensions.swift
[24/31] Compiling Basic FileInfo.swift
[25/31] Compiling Basic FileSystem.swift
[26/32] Wrapping AST for Basic for debugging
[28/37] Compiling SPMArgumentParser StringExtensions.swift
[29/37] Compiling SPMArgumentParser CollectionExtensions.swift
[30/37] Compiling SPMArgumentParser ArgumentParser.swift
[31/37] Compiling SPMArgumentParser ArgumentParserShellCompletion.swift
[32/37] Emitting module SPMArgumentParser
[33/38] Wrapping AST for SPMArgumentParser for debugging
[35/46] Compiling CLInterface Mirror.swift
[36/46] Compiling CLInterface CommandLine.swift
[37/46] Compiling CLInterface CLInterfaceError.swift
[38/46] Compiling CLInterface CLInterface.swift
[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 PositionalArgument.swift
[41/46] Compiling CLInterface Argument.swift
[42/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 {
[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! (18.32s)
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.