Build Information
Successful build of SupabaseStorage, reference 0.1.4 (65cae9
), with Swift 6.0 for Linux on 29 Nov 2024 18:44:34 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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.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 /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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/supabase-community/storage-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Emitting module SupabaseStorage
/host/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,
/host/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?
[4/17] Compiling SupabaseStorage SupabaseStorage.swift
[5/17] Compiling SupabaseStorage StorageFileApi.swift
/host/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,
/host/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 StorageHTTPClient.swift
/host/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,
/host/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 StorageBucketApi.swift
[8/17] Compiling SupabaseStorage StorageError.swift
[9/17] Compiling SupabaseStorage TransformOptions.swift
[10/17] Compiling SupabaseStorage SortBy.swift
[11/17] Compiling SupabaseStorage StorageApi.swift
[12/17] Compiling SupabaseStorage FileObject.swift
[13/17] Compiling SupabaseStorage FileOptions.swift
[14/17] Compiling SupabaseStorage Bucket.swift
[15/17] Compiling SupabaseStorage BucketOptions.swift
[16/17] Compiling SupabaseStorage MultipartFile.swift
[17/17] Compiling SupabaseStorage SearchOptions.swift
Build complete! (20.69s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SupabaseStorage",
"name" : "SupabaseStorage",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.