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, reference 0.1.4 (65cae9), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 17:03:44 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/storage-swift.git
Reference: 0.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/supabase-community/storage-swift
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at 65cae9e Fix getPublicURL method (#26)
Cloned https://github.com/supabase-community/storage-swift.git
Revision (git rev-parse @):
65cae9e1156711043cbdebb27b4df93cbef46a1b
SUCCESS checkout https://github.com/supabase-community/storage-swift.git at 0.1.4
========================================
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": "storage-swift",
      "name": "SupabaseStorage",
      "url": "https://github.com/supabase-community/storage-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/storage-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/supabase-community/storage-swift.git
[1/400] Fetching storage-swift
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.71s)
Creating working copy for https://github.com/supabase-community/storage-swift.git
Working copy of https://github.com/supabase-community/storage-swift.git resolved at 0.1.4 (65cae9e)
warning: '.resolve-product-dependencies': dependency 'storage-swift' 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/supabase-community/storage-swift.git
https://github.com/supabase-community/storage-swift.git
{
  "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"
}
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/16] Compiling SupabaseStorage StorageError.swift
[4/16] Compiling SupabaseStorage SupabaseStorage.swift
[5/16] Compiling SupabaseStorage StorageHTTPClient.swift
[6/17] 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: add '@MainActor' to make let 'DEFAULT_SEARCH_OPTIONS' part of global actor 'MainActor'
    |     `- 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/17] Compiling SupabaseStorage SortBy.swift
[8/17] Compiling SupabaseStorage StorageApi.swift
[9/17] Compiling SupabaseStorage FileObject.swift
[10/17] Compiling SupabaseStorage FileOptions.swift
[11/17] Compiling SupabaseStorage StorageBucketApi.swift
[12/17] Compiling SupabaseStorage Bucket.swift
[13/17] Compiling SupabaseStorage BucketOptions.swift
[14/17] Compiling SupabaseStorage MultipartFile.swift
[15/17] Compiling SupabaseStorage SearchOptions.swift
[16/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: add '@MainActor' to make let 'DEFAULT_SEARCH_OPTIONS' part of global actor 'MainActor'
    |     `- 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?
[17/17] Compiling SupabaseStorage TransformOptions.swift
Build complete! (5.45s)
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.