The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Files, reference master (e85f2b), with Swift 6.1 for Wasm on 31 May 2025 17:37:36 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JohnSundell/files.git
https://github.com/JohnSundell/files.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling Files Files.swift
/host/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] Emitting module Files
/host/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! (10.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/host/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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.