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 Fastfood, reference master (901c90), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 18:45:26 UTC.

Swift 6 data race errors: 0

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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/fastfood.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/artemnovichkov/fastfood
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 901c90a Update Makefile
Cloned https://github.com/artemnovichkov/fastfood.git
Revision (git rev-parse @):
901c90a4172a5517f0e025f331de77394dfd81fe
SUCCESS checkout https://github.com/artemnovichkov/fastfood.git at master
Fetching https://github.com/JohnSundell/Files.git
[1/1231] Fetching files
Fetched https://github.com/JohnSundell/Files.git from cache (0.83s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.66s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.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": "fastfood",
      "name": "Fastfood",
      "url": "https://github.com/artemnovichkov/fastfood.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fastfood",
      "dependencies": [
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/artemnovichkov/fastfood.git
[1/536] Fetching fastfood
Fetched https://github.com/artemnovichkov/fastfood.git from cache (0.74s)
Fetching https://github.com/JohnSundell/Files.git from cache
Fetched https://github.com/JohnSundell/Files.git from cache (0.46s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.02s)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/artemnovichkov/fastfood.git
Working copy of https://github.com/artemnovichkov/fastfood.git resolved at master (901c90a)
warning: '.resolve-product-dependencies': dependency 'fastfood' is not used by any target
Found 1 product dependencies
  - Files
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/artemnovichkov/fastfood.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/6] Compiling Files Files.swift
[6/6] Emitting module Files
[7/13] Compiling FastfoodCore ConsoleIO.swift
[8/13] Compiling FastfoodCore Fastfood.swift
[9/13] Compiling FastfoodCore GitService.swift
/Users/admin/builder/spi-builder-workspace/Sources/fastfood-core/GitService.swift:86:13: warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
 84 |         errorPipe.fileHandleForReading.readabilityHandler = { handler in
 85 |             let data = handler.availableData
 86 |             errorData.append(data)
    |             `- warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
 87 |         }
 88 |
[10/13] Compiling FastfoodCore Tag.swift
[11/13] Compiling FastfoodCore FastfileService.swift
[12/13] Compiling FastfoodCore Arguments.swift
[13/13] Emitting module FastfoodCore
[14/15] Compiling Fastfood main.swift
[15/15] Emitting module Fastfood
Build complete! (8.07s)
warning: 'spi-builder-workspace': the target name Fastfood has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': The target named 'Fastfood' was identified as an executable target but a non-executable product with this name already exists.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    }
  ],
  "manifest_display_name" : "Fastfood",
  "name" : "Fastfood",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Fastfood",
      "targets" : [
        "FastfoodCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FastfoodCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "FastfoodCoreTests",
      "path" : "Tests/FastfoodCoreTests",
      "sources" : [
        "ArgumentsSpec.swift",
        "TagSpec.swift"
      ],
      "target_dependencies" : [
        "FastfoodCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FastfoodCore",
      "module_type" : "SwiftTarget",
      "name" : "FastfoodCore",
      "path" : "Sources/fastfood-core",
      "product_dependencies" : [
        "Files"
      ],
      "product_memberships" : [
        "Fastfood"
      ],
      "sources" : [
        "Arguments.swift",
        "ConsoleIO.swift",
        "FastfileService.swift",
        "Fastfood.swift",
        "GitService.swift",
        "Tag.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Fastfood",
      "module_type" : "SwiftTarget",
      "name" : "Fastfood",
      "path" : "Sources/Fastfood",
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FastfoodCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
warning: 'spi-builder-workspace': the target name Fastfood has different case on the filesystem and the Package.swift manifest file
warning: 'spi-builder-workspace': The target named 'Fastfood' was identified as an executable target but a non-executable product with this name already exists.
Done.