The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Files, reference master (e85f2b), with Swift 6.1 for macOS (SPM) on 31 May 2025 17:39:02 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/files.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/files
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e85f2b4 Merge pull request #138 from markbattistella/mb/fix-copy-nesting
Cloned https://github.com/JohnSundell/files.git
Revision (git rev-parse @):
e85f2b4a8dfa0f242889f45236f3867d16e40480
SUCCESS checkout https://github.com/JohnSundell/files.git at master
========================================
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": "files",
      "name": "Files",
      "url": "https://github.com/JohnSundell/files.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/files",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JohnSundell/files.git
[1/1242] Fetching files
Fetched https://github.com/JohnSundell/files.git from cache (0.91s)
Creating working copy for https://github.com/JohnSundell/files.git
Working copy of https://github.com/JohnSundell/files.git resolved at master (e85f2b4)
warning: '.resolve-product-dependencies': dependency 'files' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JohnSundell/files.git
https://github.com/JohnSundell/files.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Files",
      "targets" : [
        "Files"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FilesTests",
      "module_type" : "SwiftTarget",
      "name" : "FilesTests",
      "path" : "Tests/FilesTests",
      "sources" : [
        "FilesTests.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Files",
      "module_type" : "SwiftTarget",
      "name" : "Files",
      "path" : "Sources",
      "product_memberships" : [
        "Files"
      ],
      "sources" : [
        "Files.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/4] Emitting module Files
/Users/admin/builder/spi-builder-workspace/Sources/Files.swift:941:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 935 |
 936 | /// Error type thrown by all of Files' throwing APIs.
 937 | public struct FilesError<Reason>: Error {
     |                          `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
 938 |     /// The absolute path that the error occured at.
 939 |     public var path: String
 940 |     /// The reason that the error occured.
 941 |     public var reason: Reason
     |                `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 942 |
 943 |     /// Initialize an instance with a path and a reason.
[4/4] Compiling Files Files.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files.swift:941:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 935 |
 936 | /// Error type thrown by all of Files' throwing APIs.
 937 | public struct FilesError<Reason>: Error {
     |                          `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
 938 |     /// The absolute path that the error occured at.
 939 |     public var path: String
 940 |     /// The reason that the error occured.
 941 |     public var reason: Reason
     |                `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 942 |
 943 |     /// Initialize an instance with a path and a reason.
Build complete! (6.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Files",
      "targets" : [
        "Files"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FilesTests",
      "module_type" : "SwiftTarget",
      "name" : "FilesTests",
      "path" : "Tests/FilesTests",
      "sources" : [
        "FilesTests.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Files",
      "module_type" : "SwiftTarget",
      "name" : "Files",
      "path" : "Sources",
      "product_memberships" : [
        "Files"
      ],
      "sources" : [
        "Files.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.