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 main (efb9c7), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 18:54:43 UTC.

Swift 6 data race errors: 1

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 -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.58.1
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
========================================
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.72s)
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 main (efb9c7c)
warning: '.resolve-product-dependencies': dependency 'storage-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.txt
[3/16] Compiling SupabaseStorage SupabaseStorage.swift
[4/16] Compiling SupabaseStorage StorageHTTPClient.swift
[5/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: 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?
[6/17] Compiling SupabaseStorage StorageBucketApi.swift
[7/17] Compiling SupabaseStorage MultipartFile.swift
[8/17] Compiling SupabaseStorage SearchOptions.swift
[9/17] Compiling SupabaseStorage SortBy.swift
[10/17] Compiling SupabaseStorage StorageApi.swift
[11/17] Compiling SupabaseStorage Bucket.swift
[12/17] Compiling SupabaseStorage BucketOptions.swift
[13/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?
[14/17] Compiling SupabaseStorage FileObject.swift
[15/17] Compiling SupabaseStorage FileOptions.swift
[16/17] Compiling SupabaseStorage StorageError.swift
[17/17] Compiling SupabaseStorage TransformOptions.swift
Build complete! (12.12s)
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.