Build Information
Failed to build GoTrue with Swift 6.0 for macOS (SPM).
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/gotrue-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/supabase-community/gotrue-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1f2c61d Update README.md
Cloned https://github.com/supabase-community/gotrue-swift.git
Revision (git rev-parse @):
1f2c61d1c83887f7eb7835b07e03779a7c10f5c1
SUCCESS checkout https://github.com/supabase-community/gotrue-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/supabase-community/gotrue-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/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/15] Emitting module Get
[7/15] Emitting module URLQueryEncoder
[8/15] Compiling URLQueryEncoder URLQueryEncoder.swift
[9/15] Compiling Get APIClient.swift
[10/15] Compiling Get APIClientDelegate.swift
[11/15] Compiling KeychainAccess Keychain.swift
[12/15] Emitting module KeychainAccess
[13/15] Compiling Get Request.swift
[14/15] Compiling Get DataLoader.swift
[15/15] Compiling Get Response.swift
[16/29] Compiling GoTrue Shims.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:123:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 |
112 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
113 | public let rawValue: String
114 |
:
121 | }
122 |
123 | public static let get: HTTPMethod = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' 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
124 | public static let post: HTTPMethod = "POST"
125 | public static let patch: HTTPMethod = "PATCH"
[17/29] Compiling GoTrue Helpers.swift
[18/29] Compiling GoTrue SessionManager.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[19/29] Compiling GoTrue Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift:56:13: warning: let 'dateFormatterWithFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
54 | }
55 |
56 | private let dateFormatterWithFractionalSeconds = { () -> ISO8601DateFormatter in
| |- warning: let 'dateFormatterWithFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatterWithFractionalSeconds' 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
57 | let formatter = ISO8601DateFormatter()
58 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift:62:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | private let dateFormatter = { () -> ISO8601DateFormatter in
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
63 | let formatter = ISO8601DateFormatter()
64 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift:30:7: warning: capture of 'configuration' with non-sendable type '(inout APIClient.Configuration) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | $0.delegate = Delegate()
29 |
30 | configuration(&$0)
| |- warning: capture of 'configuration' with non-sendable type '(inout APIClient.Configuration) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | }
32 |
[20/29] Compiling GoTrue AuthChangeEvent.swift
[21/29] Compiling GoTrue Deprecated.swift
[22/29] Compiling GoTrue GoTrueLocalStorage.swift
[23/29] Compiling GoTrue ConcurrencySupport.swift
[24/29] Compiling GoTrue Endpoints.swift
[25/29] Compiling GoTrue Extensions.swift
[26/29] Compiling GoTrue Types.swift
[27/29] Emitting module GoTrue
/Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift:56:13: warning: let 'dateFormatterWithFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
54 | }
55 |
56 | private let dateFormatterWithFractionalSeconds = { () -> ISO8601DateFormatter in
| |- warning: let 'dateFormatterWithFractionalSeconds' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatterWithFractionalSeconds' 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
57 | let formatter = ISO8601DateFormatter()
58 | formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift:62:13: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | private let dateFormatter = { () -> ISO8601DateFormatter in
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
63 | let formatter = ISO8601DateFormatter()
64 | formatter.formatOptions = [.withInternetDateTime]
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:123:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 |
112 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
113 | public let rawValue: String
114 |
:
121 | }
122 |
123 | public static let get: HTTPMethod = "GET"
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' 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
124 | public static let post: HTTPMethod = "POST"
125 | public static let patch: HTTPMethod = "PATCH"
Assertion failed: ((!other.isActorIsolated() || !isActorIsolated() || hasSameIsolation(other)) && "Actor can only be merged with the same actor"), function merge, file PartitionUtils.cpp, line 522.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/AuthChangeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Deprecated.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Endpoints.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Extensions.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/GoTrueClient.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/GoTrueError.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/GoTrueLocalStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/ConcurrencySupport.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Helpers.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/SessionManager.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Internal/Shims.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Types.swift /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/Version.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueClient.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueClient.swiftdeps -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueError.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueError.swiftdeps -target arm64-apple-macosx10.15 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name GoTrue -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueClient.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/GoTrue.build/GoTrueError.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for GoTrue)
4. While running pass #584 SILFunctionTransform "TransferNonSendable" on SILFunction "@$s6GoTrue0aB6ClientC7_signUp33_8EDAD968A037E5229A154B28D5E1256FLL7requestAA12AuthResponseO3Get7RequestVyAHG_tYaKF".
for '_signUp(request:)' (at /Users/admin/builder/spi-builder-workspace/Sources/GoTrue/GoTrueClient.swift:134:11)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000000108433bf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x00000001084323bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000108434238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x000000018da79a24 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018da49cc0 pthread_kill + 288
5 libsystem_c.dylib 0x000000018d955a40 abort + 180
6 libsystem_c.dylib 0x000000018d954d30 err + 0
7 swift-frontend 0x00000001086e1ffc swift::SILIsolationInfo::hasSameIsolation(swift::SILIsolationInfo const&) const (.cold.1) + 0
8 swift-frontend 0x0000000103bc4af4 swift::SILIsolationInfo::hasSameIsolation(swift::SILIsolationInfo const&) const + 0
9 swift-frontend 0x00000001037310c4 swift::regionanalysisimpl::BlockPartitionState::recomputeExitFromEntry(swift::regionanalysisimpl::PartitionOpTranslator&) + 2008
10 swift-frontend 0x000000010373233c swift::RegionAnalysisFunctionInfo::runDataflow() + 1832
11 swift-frontend 0x0000000103731b9c swift::RegionAnalysisFunctionInfo::RegionAnalysisFunctionInfo(swift::SILFunction*, swift::PostOrderFunctionInfo*) + 876
12 swift-frontend 0x0000000103733f7c swift::RegionAnalysis::newFunctionAnalysis(swift::SILFunction*) + 56
13 swift-frontend 0x000000010397db24 swift::FunctionAnalysisBase<swift::RegionAnalysisFunctionInfo>::get(swift::SILFunction*) + 80
14 swift-frontend 0x000000010397d848 (anonymous namespace)::TransferNonSendable::run() + 124
15 swift-frontend 0x000000010399f97c swift::SILPassManager::runPassOnFunction(unsigned int, swift::SILFunction*) + 1432
16 swift-frontend 0x00000001039a07e8 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 1060
17 swift-frontend 0x00000001039a3154 swift::SILPassManager::execute() + 596
18 swift-frontend 0x000000010399d95c swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 72
19 swift-frontend 0x000000010399d8dc swift::ExecuteSILPipelineRequest::evaluate(swift::Evaluator&, swift::SILPipelineExecutionDescriptor) const + 68
20 swift-frontend 0x00000001039d9170 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 28
21 swift-frontend 0x00000001039b96cc swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 204
22 swift-frontend 0x000000010399db38 swift::executePassPipelinePlan(swift::SILModule*, swift::SILPassPipelinePlan const&, bool, swift::irgen::IRGenModule*) + 64
23 swift-frontend 0x00000001039bbb94 swift::runSILDiagnosticPasses(swift::SILModule&) + 192
24 swift-frontend 0x00000001031eb594 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 80
25 swift-frontend 0x0000000102fad858 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 796
26 swift-frontend 0x0000000102facf2c swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 648
27 swift-frontend 0x0000000102fbe248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
28 swift-frontend 0x0000000102faf590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
29 swift-frontend 0x0000000102fae4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
30 swift-frontend 0x0000000102dc83b0 swift::mainEntry(int, char const**) + 3096
31 dyld 0x000000018d6c90e0 start + 2360
Fetching https://github.com/kean/Get
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/WeTransfer/Mocker
[1/2329] Fetching get
[118/2457] Fetching get, urlqueryencoder
[231/4319] Fetching get, urlqueryencoder, mocker
[762/8710] Fetching get, urlqueryencoder, mocker, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (1.48s)
Fetched https://github.com/kean/Get from cache (1.48s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.48s)
Fetched https://github.com/WeTransfer/Mocker from cache (1.48s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.0 (0.71s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.73s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.66s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.5 (0.67s)
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.0
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.0
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.5
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
BUILD FAILURE 6.0 macosSpm