This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SupabaseStorage with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/storage-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/supabase-community/storage-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at efb9c7c Update README.md
Cloned https://github.com/supabase-community/storage-swift.git
Revision (git rev-parse @):
efb9c7c225cdc4a82787c3984ff66d2bceb97167
SUCCESS checkout https://github.com/supabase-community/storage-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/supabase-community/storage-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/16] Compiling SupabaseStorage StorageBucketApi.swift
[4/16] Compiling SupabaseStorage SupabaseStorage.swift
[5/16] Compiling SupabaseStorage StorageError.swift
[6/16] Compiling SupabaseStorage StorageFileApi.swift
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseStorage/StorageFileApi.swift:7:5: warning: let 'DEFAULT_SEARCH_OPTIONS' is not concurrency-safe because non-'Sendable' type 'SearchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | #endif
  6 |
  7 | let DEFAULT_SEARCH_OPTIONS = SearchOptions(
    |     |- warning: let 'DEFAULT_SEARCH_OPTIONS' is not concurrency-safe because non-'Sendable' type 'SearchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'DEFAULT_SEARCH_OPTIONS' 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
  8 |   limit: 100,
  9 |   offset: 0,
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseStorage/SearchOptions.swift:1:15: note: consider making struct 'SearchOptions' conform to the 'Sendable' protocol
 1 | public struct SearchOptions {
   |               `- note: consider making struct 'SearchOptions' conform to the 'Sendable' protocol
 2 |   /// The number of files you want to be returned.
 3 |   public var limit: Int?
[7/16] Compiling SupabaseStorage StorageHTTPClient.swift
[8/17] Compiling SupabaseStorage SortBy.swift
[9/17] Compiling SupabaseStorage StorageApi.swift
[10/17] Compiling SupabaseStorage FileObject.swift
[11/17] Compiling SupabaseStorage FileOptions.swift
[12/17] Compiling SupabaseStorage MultipartFile.swift
[13/17] Compiling SupabaseStorage SearchOptions.swift
[14/17] Emitting module SupabaseStorage
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseStorage/StorageFileApi.swift:7:5: warning: let 'DEFAULT_SEARCH_OPTIONS' is not concurrency-safe because non-'Sendable' type 'SearchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | #endif
  6 |
  7 | let DEFAULT_SEARCH_OPTIONS = SearchOptions(
    |     |- warning: let 'DEFAULT_SEARCH_OPTIONS' is not concurrency-safe because non-'Sendable' type 'SearchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'DEFAULT_SEARCH_OPTIONS' 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
  8 |   limit: 100,
  9 |   offset: 0,
/Users/admin/builder/spi-builder-workspace/Sources/SupabaseStorage/SearchOptions.swift:1:15: note: consider making struct 'SearchOptions' conform to the 'Sendable' protocol
 1 | public struct SearchOptions {
   |               `- note: consider making struct 'SearchOptions' conform to the 'Sendable' protocol
 2 |   /// The number of files you want to be returned.
 3 |   public var limit: Int?
[15/17] Compiling SupabaseStorage Bucket.swift
[16/17] Compiling SupabaseStorage BucketOptions.swift
[17/17] Compiling SupabaseStorage TransformOptions.swift
Build complete! (21.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SupabaseStorage",
  "name" : "SupabaseStorage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SupabaseStorage",
      "targets" : [
        "SupabaseStorage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SupabaseStorageTests",
      "module_type" : "SwiftTarget",
      "name" : "SupabaseStorageTests",
      "path" : "Tests/SupabaseStorageTests",
      "sources" : [
        "SupabaseStorageTests.swift"
      ],
      "target_dependencies" : [
        "SupabaseStorage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SupabaseStorage",
      "module_type" : "SwiftTarget",
      "name" : "SupabaseStorage",
      "path" : "Sources/SupabaseStorage",
      "product_memberships" : [
        "SupabaseStorage"
      ],
      "sources" : [
        "Bucket.swift",
        "BucketOptions.swift",
        "FileObject.swift",
        "FileOptions.swift",
        "MultipartFile.swift",
        "SearchOptions.swift",
        "SortBy.swift",
        "StorageApi.swift",
        "StorageBucketApi.swift",
        "StorageError.swift",
        "StorageFileApi.swift",
        "StorageHTTPClient.swift",
        "SupabaseStorage.swift",
        "TransformOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.