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 Script.swift, reference 0.0.3 (f9e476), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:16:08 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KS1019/Script.swift.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KS1019/Script.swift
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at f9e4760 Update .spi.yml (#5)
Cloned https://github.com/KS1019/Script.swift.git
Revision (git rev-parse @):
f9e47607d95a7ec7dbfee0e266d4cee22ba8b86f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KS1019/Script.swift.git at 0.0.3
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/JohnSundell/ShellOut.git
[1/1231] Fetching files
[112/2191] Fetching files, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.98s)
Fetched https://github.com/JohnSundell/Files from cache (0.98s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.73s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.82s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.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": "script.swift",
      "name": "Script.swift",
      "url": "https://github.com/KS1019/Script.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Script.swift",
      "dependencies": [
        {
          "identity": "shellout",
          "name": "ShellOut",
          "url": "https://github.com/JohnSundell/ShellOut.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
          "dependencies": [
          ]
        },
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files",
          "version": "4.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/KS1019/Script.swift.git
[1/369] Fetching script.swift
Fetched https://github.com/KS1019/Script.swift.git from cache (1.44s)
Fetching https://github.com/JohnSundell/Files from cache
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.48s)
Fetched https://github.com/JohnSundell/Files from cache (0.48s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.03s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.03s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/KS1019/Script.swift.git
Working copy of https://github.com/KS1019/Script.swift.git resolved at 0.0.3 (f9e4760)
warning: '.resolve-product-dependencies': dependency 'script.swift' is not used by any target
Found 2 product dependencies
  - ShellOut
  - Files
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/KS1019/Script.swift.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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/8] Compiling ShellOut ShellOut.swift
[6/8] Emitting module ShellOut
[7/8] Emitting module Files
[8/8] Compiling Files Files.swift
[9/15] Compiling ScriptSwift SystemCall.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:3:5: warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | #if canImport(Darwin)
 2 | import Darwin
 3 | let _exit = Darwin.exit
   |     |- warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate '_exit' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 | #elseif canImport(Glibc)
 5 | import Glibc
[10/15] Compiling ScriptSwift Script.swift
[11/15] Compiling ScriptSwift Script+Files.swift
[12/15] Compiling ScriptSwift Script+Comparable.swift
[13/15] Compiling ScriptSwift Script+Data.swift
[14/15] Emitting module ScriptSwift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ScriptSwift/SystemCall.swift:3:5: warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | #if canImport(Darwin)
 2 | import Darwin
 3 | let _exit = Darwin.exit
   |     |- warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate '_exit' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 | #elseif canImport(Glibc)
 5 | import Glibc
[15/15] Compiling ScriptSwift Script+String.swift
Build complete! (11.00s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files"
    }
  ],
  "manifest_display_name" : "Script.swift",
  "name" : "Script.swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ScriptSwift",
      "targets" : [
        "ScriptSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScriptSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ScriptSwiftTests",
      "path" : "Tests/ScriptSwiftTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScriptSwiftTests/Fixtures/TESTING.md",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ScriptUnitTests.swift"
      ],
      "target_dependencies" : [
        "ScriptSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScriptSwift",
      "module_type" : "SwiftTarget",
      "name" : "ScriptSwift",
      "path" : "Sources/ScriptSwift",
      "product_dependencies" : [
        "ShellOut",
        "Files"
      ],
      "product_memberships" : [
        "ScriptSwift"
      ],
      "sources" : [
        "Script+Comparable.swift",
        "Script+Data.swift",
        "Script+Files.swift",
        "Script+String.swift",
        "Script.swift",
        "SystemCall.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/ks1019/script.swift/0.0.3
Repository:               KS1019/Script.swift
Swift version used:       6.0
Target:                   ScriptSwift
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'ScriptSwift'...
Finished extracting symbol information for 'ScriptSwift'. (6.05s)
Building documentation for 'ScriptSwift'...
Finished building documentation for 'ScriptSwift' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/ks1019/script.swift/0.0.3
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/JohnSundell/ShellOut.git
Updating https://github.com/JohnSundell/Files
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Updated https://github.com/JohnSundell/ShellOut.git (0.49s)
Updated https://github.com/JohnSundell/Files (0.49s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.65s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit Mixin+Equals.swift
[20/57] Compiling SymbolKit Mixin+Hash.swift
[21/57] Compiling SymbolKit Mixin.swift
[22/57] Compiling SymbolKit LineList.swift
[23/57] Compiling SymbolKit Position.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Emitting module SymbolKit
[40/57] Compiling SymbolKit Names.swift
[41/57] Compiling SymbolKit SPI.swift
[42/57] Compiling SymbolKit Snippet.swift
[43/57] Compiling SymbolKit Extension.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.97s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/5] Emitting module Files
[3/5] Emitting module ShellOut
[4/5] Compiling ShellOut ShellOut.swift
[5/5] Compiling Files Files.swift
[6/12] Compiling ScriptSwift Script+Comparable.swift
[7/12] Compiling ScriptSwift SystemCall.swift
[8/12] Compiling ScriptSwift Script+Files.swift
[9/12] Compiling ScriptSwift Script.swift
[10/12] Emitting module ScriptSwift
[11/12] Compiling ScriptSwift Script+String.swift
[12/12] Compiling ScriptSwift Script+Data.swift
Build of target: 'ScriptSwift' complete! (2.06s)
     102
2	/Users/admin/builder/spi-builder-workspace/.docs/ks1019/script.swift/0.0.3
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/ks1019/script.swift/0.0.3
File count: 102
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-ks1019-script.swift-0.0.3-f4c3e502.zip to s3://spi-docs-inbox/prod-ks1019-script.swift-0.0.3-f4c3e502.zip
Copying... [17%]
Copying... [35%]
Copying... [52%]
Copying... [70%]
Copying... [87%]
Copying... [100%]
Done.