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.0 for macOS (SPM) on 29 Nov 2024 18:54:55 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: 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.78s)
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.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/17] Compiling SupabaseStorage TransformOptions.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 StorageError.swift
[7/17] Compiling SupabaseStorage MultipartFile.swift
[8/17] Compiling SupabaseStorage SearchOptions.swift
[9/17] Compiling SupabaseStorage StorageBucketApi.swift
[10/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?
[11/17] Compiling SupabaseStorage FileObject.swift
[12/17] Compiling SupabaseStorage FileOptions.swift
[13/17] Compiling SupabaseStorage SortBy.swift
[14/17] Compiling SupabaseStorage StorageApi.swift
[15/17] Compiling SupabaseStorage Bucket.swift
[16/17] Compiling SupabaseStorage BucketOptions.swift
[17/17] Compiling SupabaseStorage StorageHTTPClient.swift
Build complete! (14.91s)
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.