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 fish, reference main (4dd939), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 18:09:10 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 -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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftyfinch/Fish.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftyfinch/Fish
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4dd939e Use Xcode 14.3.1
Cloned https://github.com/swiftyfinch/Fish.git
Revision (git rev-parse @):
4dd939e717b7040da9ff21bf7d5ff20ee51acec4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftyfinch/Fish.git at main
========================================
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": "fish",
      "name": "fish",
      "url": "https://github.com/swiftyfinch/Fish.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fish",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/swiftyfinch/Fish.git
[1/93] Fetching fish
Fetched https://github.com/swiftyfinch/Fish.git from cache (0.66s)
Creating working copy for https://github.com/swiftyfinch/Fish.git
Working copy of https://github.com/swiftyfinch/Fish.git resolved at main (4dd939e)
warning: '.resolve-product-dependencies': dependency 'fish' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftyfinch/Fish.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "fish",
  "name" : "fish",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Fish",
      "targets" : [
        "Fish"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FishTests",
      "module_type" : "SwiftTarget",
      "name" : "FishTests",
      "path" : "Tests",
      "sources" : [
        "FileTests.swift",
        "FolderTests.swift",
        "IFileTests.swift",
        "IFolderTests.swift",
        "StringTests.swift",
        "Utils/String+Fake.swift"
      ],
      "target_dependencies" : [
        "Fish"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Fish",
      "module_type" : "SwiftTarget",
      "name" : "Fish",
      "path" : "Sources",
      "product_memberships" : [
        "Fish"
      ],
      "sources" : [
        "Fish.swift",
        "Implementation/Extensions/URL+Extensions.swift",
        "Implementation/Manager/FilesManager+IFileManager.swift",
        "Implementation/Manager/FilesManager+IFolderManager.swift",
        "Implementation/Manager/FilesManager+IItemManager.swift",
        "Implementation/Manager/FilesManager.swift",
        "Implementation/Models/FileStorage.swift",
        "Implementation/Models/FolderStorage.swift",
        "Public/Extensions/String+RelativePath.swift",
        "Public/FishError.swift",
        "Public/General/File.swift",
        "Public/General/Folder.swift",
        "Public/Interfaces/IFile.swift",
        "Public/Interfaces/IFilesManager.swift",
        "Public/Interfaces/IFolder.swift",
        "Public/Interfaces/IItem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/18] Compiling Fish IFolder.swift
[4/18] Compiling Fish IFile.swift
[5/19] Compiling Fish IFilesManager.swift
[6/19] Compiling Fish String+RelativePath.swift
[7/19] Compiling Fish FishError.swift
[8/19] Compiling Fish FilesManager+IFileManager.swift
[9/19] Compiling Fish FilesManager+IFolderManager.swift
[10/19] Compiling Fish FileStorage.swift
[11/19] Compiling Fish FolderStorage.swift
[12/19] Compiling Fish FilesManager+IItemManager.swift
[13/19] Compiling Fish FilesManager.swift
[14/19] Emitting module Fish
/Users/admin/builder/spi-builder-workspace/Sources/Fish.swift:12:12: warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// It can be changed. For example, for testing.
12 | public var sharedStorage: IFilesManager = FilesManager(fileManager: .default)
   |            |- warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'sharedStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'sharedStorage' 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
13 |
[15/19] Compiling Fish Fish.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fish.swift:12:12: warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// It can be changed. For example, for testing.
12 | public var sharedStorage: IFilesManager = FilesManager(fileManager: .default)
   |            |- warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'sharedStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'sharedStorage' 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
13 |
[16/19] Compiling Fish URL+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fish.swift:12:12: warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// It can be changed. For example, for testing.
12 | public var sharedStorage: IFilesManager = FilesManager(fileManager: .default)
   |            |- warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'sharedStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'sharedStorage' 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
13 |
[17/19] Compiling Fish File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fish.swift:12:12: warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// It can be changed. For example, for testing.
12 | public var sharedStorage: IFilesManager = FilesManager(fileManager: .default)
   |            |- warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'sharedStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'sharedStorage' 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
13 |
[18/19] Compiling Fish Folder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fish.swift:12:12: warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | ///
11 | /// It can be changed. For example, for testing.
12 | public var sharedStorage: IFilesManager = FilesManager(fileManager: .default)
   |            |- warning: var 'sharedStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'sharedStorage' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'sharedStorage' 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
13 |
[19/19] Compiling Fish IItem.swift
Build complete! (14.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "fish",
  "name" : "fish",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Fish",
      "targets" : [
        "Fish"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FishTests",
      "module_type" : "SwiftTarget",
      "name" : "FishTests",
      "path" : "Tests",
      "sources" : [
        "FileTests.swift",
        "FolderTests.swift",
        "IFileTests.swift",
        "IFolderTests.swift",
        "StringTests.swift",
        "Utils/String+Fake.swift"
      ],
      "target_dependencies" : [
        "Fish"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Fish",
      "module_type" : "SwiftTarget",
      "name" : "Fish",
      "path" : "Sources",
      "product_memberships" : [
        "Fish"
      ],
      "sources" : [
        "Fish.swift",
        "Implementation/Extensions/URL+Extensions.swift",
        "Implementation/Manager/FilesManager+IFileManager.swift",
        "Implementation/Manager/FilesManager+IFolderManager.swift",
        "Implementation/Manager/FilesManager+IItemManager.swift",
        "Implementation/Manager/FilesManager.swift",
        "Implementation/Models/FileStorage.swift",
        "Implementation/Models/FolderStorage.swift",
        "Public/Extensions/String+RelativePath.swift",
        "Public/FishError.swift",
        "Public/General/File.swift",
        "Public/General/Folder.swift",
        "Public/Interfaces/IFile.swift",
        "Public/Interfaces/IFilesManager.swift",
        "Public/Interfaces/IFolder.swift",
        "Public/Interfaces/IItem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftyfinch/fish/main
Repository:               swiftyfinch/Fish
Swift version used:       6.0
Target:                   Fish
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 'Fish'...
Finished extracting symbol information for 'Fish'. (2.93s)
Building documentation for 'Fish'...
warning: Parameter 'name' not found in type method declaration
  --> Sources/Public/General/File.swift:22:9-22:41
20 |
21 |     /// Returns the file if it exists.
22 +     /// - Parameter name: The file path.
   |         ╰─suggestion: Remove 'name' parameter documentation
23 |     public static func at(_ path: String) throws -> IFile {
24 |         try storage.file(at: path)
warning: Parameter 'path' is missing documentation
  --> Sources/Public/General/File.swift:22:41-22:41
20 |
21 |     /// Returns the file if it exists.
22 +     /// - Parameter name: The file path.
   |                                         ╰─suggestion: Document 'path' parameter
23 |     public static func at(_ path: String) throws -> IFile {
24 |         try storage.file(at: path)Finished building documentation for 'Fish' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftyfinch/fish/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2044] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Mixin+Equals.swift
[8/57] Compiling SymbolKit Mixin+Hash.swift
[9/57] Compiling SymbolKit Mixin.swift
[10/57] Compiling SymbolKit LineList.swift
[11/57] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit GenericConstraint.swift
[13/57] Compiling SymbolKit GenericParameter.swift
[14/57] Compiling SymbolKit Generics.swift
[15/57] Compiling SymbolKit Namespace.swift
[16/57] Compiling Snippets Snippet.swift
[17/57] Emitting module Snippets
[18/57] Compiling Snippets SnippetParser.swift
[19/57] Compiling SymbolKit Identifier.swift
[20/57] Compiling SymbolKit KindIdentifier.swift
[21/57] Compiling SymbolKit Location.swift
[22/57] Compiling SymbolKit Mutability.swift
[23/57] Compiling SymbolKit SemanticVersion.swift
[24/57] Compiling SymbolKit AccessControl.swift
[25/57] Compiling SymbolKit Availability.swift
[26/57] Compiling SymbolKit AvailabilityItem.swift
[27/57] Compiling SymbolKit Domain.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit DeclarationFragments.swift
[33/57] Compiling SymbolKit Fragment.swift
[34/57] Compiling SymbolKit FragmentKind.swift
[35/57] Compiling SymbolKit FunctionParameter.swift
[36/57] Compiling SymbolKit FunctionSignature.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[47/57] Compiling SymbolKit UnifiedSymbol.swift
[48/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[50/57] Compiling SymbolKit SourceRange.swift
[51/57] Compiling SymbolKit Metadata.swift
[52/57] Compiling SymbolKit Module.swift
[53/57] Compiling SymbolKit OperatingSystem.swift
[54/57] Compiling SymbolKit Platform.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.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! (4.16s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/17] Compiling Fish IFolder.swift
[3/18] Compiling Fish IFilesManager.swift
[4/18] Compiling Fish IFile.swift
[5/18] Compiling Fish File.swift
[6/18] Compiling Fish Folder.swift
[7/18] Compiling Fish String+RelativePath.swift
[8/18] Compiling Fish FishError.swift
[9/18] Compiling Fish FileStorage.swift
[10/18] Compiling Fish FolderStorage.swift
[11/18] Compiling Fish FilesManager+IFileManager.swift
[12/18] Compiling Fish FilesManager+IFolderManager.swift
[13/18] Compiling Fish Fish.swift
[14/18] Compiling Fish URL+Extensions.swift
[15/18] Emitting module Fish
[16/18] Compiling Fish FilesManager+IItemManager.swift
[17/18] Compiling Fish FilesManager.swift
[18/18] Compiling Fish IItem.swift
Build of target: 'Fish' complete! (0.97s)
     230
2	/Users/admin/builder/spi-builder-workspace/.docs/swiftyfinch/fish/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftyfinch/fish/main
File count: 230
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-swiftyfinch-fish-main-a27c7aa4.zip to s3://spi-docs-inbox/prod-swiftyfinch-fish-main-a27c7aa4.zip
Copying... [13%]
Copying... [25%]
Copying... [38%]
Copying... [51%]
Copying... [64%]
Copying... [76%]
Copying... [89%]
Copying... [100%]
Done.