Build Information
Successful build of MastodonSwift, reference main (e2f7ce
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 09:12:00 UTC.
Swift 6 data race errors: 0
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/Swiftodon/Mastodon.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Swiftodon/Mastodon.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e2f7ce4 Merge pull request #39 from daniloc/main
Cloned https://github.com/Swiftodon/Mastodon.swift.git
Revision (git rev-parse @):
e2f7ce484729078315f96baf9331009f0178d68f
SUCCESS checkout https://github.com/Swiftodon/Mastodon.swift.git at main
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/httpswift/swifter.git
[1/4067] Fetching brightfutures
[42/7190] Fetching brightfutures, filekit
[434/9525] Fetching brightfutures, filekit, kanna
[629/10167] Fetching brightfutures, filekit, kanna, erik
[1907/16217] Fetching brightfutures, filekit, kanna, erik, swifter
[3316/21351] Fetching brightfutures, filekit, kanna, erik, swifter, oauthswift
Fetched https://github.com/nvzqz/FileKit.git from cache (1.14s)
[10366/18228] Fetching brightfutures, kanna, erik, swifter, oauthswift
Fetched https://github.com/phimage/Erik.git from cache (1.34s)
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (1.34s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
[10513/12452] Fetching brightfutures, kanna, swifter
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.55s)
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.55s)
Fetched https://github.com/httpswift/swifter.git from cache (1.55s)
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (1.99s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.60s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.2.7 (0.56s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.56s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.56s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.56s)
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.2.7
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.0.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
========================================
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": "mastodon.swift",
"name": "MastodonSwift",
"url": "https://github.com/Swiftodon/Mastodon.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Mastodon.swift",
"dependencies": [
{
"identity": "oauthswift",
"name": "OAuthSwift",
"url": "https://github.com/OAuthSwift/OAuthSwift.git",
"version": "2.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OAuthSwift",
"dependencies": [
{
"identity": "erik",
"name": "Erik",
"url": "https://github.com/phimage/Erik.git",
"version": "5.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Erik",
"dependencies": [
{
"identity": "kanna",
"name": "Kanna",
"url": "https://github.com/tid-kijyun/Kanna.git",
"version": "5.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kanna",
"dependencies": [
]
},
{
"identity": "brightfutures",
"name": "BrightFutures",
"url": "https://github.com/Thomvis/BrightFutures.git",
"version": "8.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BrightFutures",
"dependencies": [
]
},
{
"identity": "filekit",
"name": "FileKit",
"url": "https://github.com/nvzqz/FileKit.git",
"version": "6.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileKit",
"dependencies": [
]
}
]
},
{
"identity": "kanna",
"name": "Kanna",
"url": "https://github.com/tid-kijyun/Kanna.git",
"version": "5.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kanna",
"dependencies": [
]
},
{
"identity": "swifter",
"name": "Swifter",
"url": "https://github.com/httpswift/swifter.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Swiftodon/Mastodon.swift.git
[1/1298] Fetching mastodon.swift
Fetched https://github.com/Swiftodon/Mastodon.swift.git from cache (0.83s)
Fetching https://github.com/OAuthSwift/OAuthSwift.git from cache
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.54s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (0.60s)
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/tid-kijyun/Kanna.git from cache
Fetching https://github.com/phimage/Erik.git from cache
Fetched https://github.com/httpswift/swifter.git from cache (0.57s)
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.57s)
Fetched https://github.com/phimage/Erik.git from cache (0.57s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.63s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.03s)
Fetching https://github.com/nvzqz/FileKit.git from cache
Fetching https://github.com/Thomvis/BrightFutures.git from cache
Fetched https://github.com/nvzqz/FileKit.git from cache (0.47s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.47s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (0.53s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.03s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.62s)
Creating working copy for https://github.com/Swiftodon/Mastodon.swift.git
Working copy of https://github.com/Swiftodon/Mastodon.swift.git resolved at main (e2f7ce4)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
warning: '.resolve-product-dependencies': dependency 'mastodon.swift' is not used by any target
Found 1 product dependencies
- OAuthSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Swiftodon/Mastodon.swift.git
https://github.com/Swiftodon/Mastodon.swift.git
{
"dependencies" : [
{
"identity" : "oauthswift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OAuthSwift/OAuthSwift.git"
}
],
"manifest_display_name" : "MastodonSwift",
"name" : "MastodonSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "MastodonSwift",
"targets" : [
"MastodonSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MastodonSwiftTests",
"module_type" : "SwiftTarget",
"name" : "MastodonSwiftTests",
"path" : "Tests/MastodonSwiftTests",
"sources" : [
"MastodonClientTests.swift",
"Mocking/MockURLProcotol.swift",
"Mocking/MockURLSession.swift",
"Mocking/Responses/CreateAppMockResponse.swift",
"Mocking/Responses/GetAuthenticateMockResponse.swift",
"Mocking/Responses/GetHomeTimelineMockResponse.swift"
],
"target_dependencies" : [
"MastodonSwift"
],
"type" : "test"
},
{
"c99name" : "MastodonSwift",
"module_type" : "SwiftTarget",
"name" : "MastodonSwift",
"path" : "Sources/MastodonSwift",
"product_dependencies" : [
"OAuthSwift"
],
"product_memberships" : [
"MastodonSwift"
],
"sources" : [
"Entities/AccessToken.swift",
"Entities/Account.swift",
"Entities/App.swift",
"Entities/Application.swift",
"Entities/Attachment.swift",
"Entities/Card.swift",
"Entities/Context.swift",
"Entities/Error.swift",
"Entities/Instance.swift",
"Entities/Markers.swift",
"Entities/Mention.swift",
"Entities/Notification.swift",
"Entities/Relationship.swift",
"Entities/Report.swift",
"Entities/Result.swift",
"Entities/Status.swift",
"Entities/Tag.swift",
"Extensions/Primitive+AsString.swift",
"Extensions/String+AsURL.swift",
"Extensions/URL+OptionalString.swift",
"MastodonClient+Accounts.swift",
"MastodonClient+Convenience.swift",
"MastodonClient+Instances.swift",
"MastodonClient+StatusActions.swift",
"MastodonClient.swift",
"Networking/MultipartFormData.swift",
"Networking/TargetType.swift",
"Targets/Accounts.swift",
"Targets/Apps.swift",
"Targets/Blocks.swift",
"Targets/Favourites.swift",
"Targets/FollowRequests.swift",
"Targets/Follows.swift",
"Targets/Instances.swift",
"Targets/Marker.swift",
"Targets/Mastodon.swift",
"Targets/Media.swift",
"Targets/Mutes.swift",
"Targets/Notifications.swift",
"Targets/OAuth.swift",
"Targets/Reports.swift",
"Targets/Search.swift",
"Targets/Statuses.swift",
"Targets/Timelines.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/32] Emitting module OAuthSwift
[5/35] Compiling OAuthSwift URL+OAuthSwift.swift
[6/35] Compiling OAuthSwift URLConvertible.swift
[7/35] Compiling OAuthSwift Utils.swift
[8/35] Compiling OAuthSwift SafariURLHandler.swift
[9/35] Compiling OAuthSwift Int+OAuthSwift.swift
[10/35] Compiling OAuthSwift NSError+OAuthSwift.swift
[11/35] Compiling OAuthSwift OAuthSwiftCredential.swift
[12/35] Compiling OAuthSwift OAuthSwiftError.swift
[13/35] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
[14/35] Compiling OAuthSwift OAuthLogProtocol.swift
[15/35] Compiling OAuthSwift OAuthSwift.swift
[16/35] Compiling OAuthSwift OAuthSwiftClient.swift
[17/35] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
[18/35] Compiling OAuthSwift OAuth1Swift.swift
[19/35] Compiling OAuthSwift OAuth2Swift.swift
[20/35] Compiling OAuthSwift Collection+OAuthSwift.swift
[21/35] Compiling OAuthSwift Data+OAuthSwift.swift
[22/35] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[23/35] Compiling OAuthSwift HMAC.swift
[24/35] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
[25/35] Compiling OAuthSwift ExtensionContextURLHandler.swift
[26/35] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
[27/35] Compiling OAuthSwift SHA1.swift
[28/35] Compiling OAuthSwift String+OAuthSwift.swift
[29/35] Compiling OAuthSwift UIApplication+OAuthSwift.swift
[30/35] Compiling OAuthSwift OAuthSwiftMultipartData.swift
[31/35] Compiling OAuthSwift OAuthSwiftResponse.swift
[32/35] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
[33/35] Compiling OAuthSwift OAuthSwiftURLHandlerProxy.swift
[34/35] Compiling OAuthSwift OAuthWebViewController.swift
[35/35] Compiling OAuthSwift SFAuthenticationURLHandler.swift
[36/76] Emitting module MastodonSwift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[37/80] Compiling MastodonSwift Follows.swift
[38/80] Compiling MastodonSwift Instances.swift
[39/80] Compiling MastodonSwift Marker.swift
[40/80] Compiling MastodonSwift Mastodon.swift
[41/80] Compiling MastodonSwift MastodonClient.swift
[42/80] Compiling MastodonSwift MultipartFormData.swift
[43/80] Compiling MastodonSwift TargetType.swift
[44/80] Compiling MastodonSwift Accounts.swift
[45/80] Compiling MastodonSwift Apps.swift
[46/80] Compiling MastodonSwift Blocks.swift
[47/80] Compiling MastodonSwift Favourites.swift
[48/80] Compiling MastodonSwift FollowRequests.swift
[49/80] Compiling MastodonSwift AccessToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[50/80] Compiling MastodonSwift Account.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[51/80] Compiling MastodonSwift App.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[52/80] Compiling MastodonSwift Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[53/80] Compiling MastodonSwift Attachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/Entities/AccessToken.swift:11:14: warning: This needs to be refactored, refresh token and other properties need to be available
9 | }
10 |
11 | #warning("This needs to be refactored, refresh token and other properties need to be available")
| `- warning: This needs to be refactored, refresh token and other properties need to be available
12 | public init(credential: OAuthSwiftCredential) {
13 | self.token = credential.oauthToken
[54/80] Compiling MastodonSwift Media.swift
[55/80] Compiling MastodonSwift Mutes.swift
[56/80] Compiling MastodonSwift Notifications.swift
[57/80] Compiling MastodonSwift OAuth.swift
[58/80] Compiling MastodonSwift MastodonClient+Accounts.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:13: warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:27: warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:50:38: warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
48 | switch result {
49 | case let .success((credentials, _, _)):
50 | continuation.resume(with: .success(credentials))
| |- warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'credentials.success' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | case let .failure(error):
52 | continuation.resume(throwing: error)
[59/80] Compiling MastodonSwift MastodonClient+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:13: warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:27: warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:50:38: warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
48 | switch result {
49 | case let .success((credentials, _, _)):
50 | continuation.resume(with: .success(credentials))
| |- warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'credentials.success' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | case let .failure(error):
52 | continuation.resume(throwing: error)
[60/80] Compiling MastodonSwift MastodonClient+Instances.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:13: warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:27: warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:50:38: warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
48 | switch result {
49 | case let .success((credentials, _, _)):
50 | continuation.resume(with: .success(credentials))
| |- warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'credentials.success' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | case let .failure(error):
52 | continuation.resume(throwing: error)
[61/80] Compiling MastodonSwift MastodonClient+StatusActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:13: warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oAuthHandle' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:43:27: warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
41 | return try await withCheckedThrowingContinuation { [weak self] continuation in
42 | self?.oAuthContinuation = continuation
43 | oAuthHandle = oauthClient?.authorize(
| `- warning: reference to property 'oauthClient' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
44 | withCallbackURL: app.redirectUri,
45 | scope: scope.asScopeString,
/Users/admin/builder/spi-builder-workspace/Sources/MastodonSwift/MastodonClient+Convenience.swift:50:38: warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
48 | switch result {
49 | case let .success((credentials, _, _)):
50 | continuation.resume(with: .success(credentials))
| |- warning: sending 'credentials.success' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'credentials.success' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | case let .failure(error):
52 | continuation.resume(throwing: error)
[62/80] Compiling MastodonSwift Mention.swift
[63/80] Compiling MastodonSwift Notification.swift
[64/80] Compiling MastodonSwift Relationship.swift
[65/80] Compiling MastodonSwift Report.swift
[66/80] Compiling MastodonSwift Result.swift
[67/80] Compiling MastodonSwift Status.swift
[68/80] Compiling MastodonSwift Tag.swift
[69/80] Compiling MastodonSwift Primitive+AsString.swift
[70/80] Compiling MastodonSwift String+AsURL.swift
[71/80] Compiling MastodonSwift URL+OptionalString.swift
[72/80] Compiling MastodonSwift Card.swift
[73/80] Compiling MastodonSwift Context.swift
[74/80] Compiling MastodonSwift Error.swift
[75/80] Compiling MastodonSwift Instance.swift
[76/80] Compiling MastodonSwift Markers.swift
[77/80] Compiling MastodonSwift Reports.swift
[78/80] Compiling MastodonSwift Search.swift
[79/80] Compiling MastodonSwift Statuses.swift
[80/80] Compiling MastodonSwift Timelines.swift
Build complete! (14.32s)
Build complete.
{
"dependencies" : [
{
"identity" : "oauthswift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OAuthSwift/OAuthSwift.git"
}
],
"manifest_display_name" : "MastodonSwift",
"name" : "MastodonSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "MastodonSwift",
"targets" : [
"MastodonSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MastodonSwiftTests",
"module_type" : "SwiftTarget",
"name" : "MastodonSwiftTests",
"path" : "Tests/MastodonSwiftTests",
"sources" : [
"MastodonClientTests.swift",
"Mocking/MockURLProcotol.swift",
"Mocking/MockURLSession.swift",
"Mocking/Responses/CreateAppMockResponse.swift",
"Mocking/Responses/GetAuthenticateMockResponse.swift",
"Mocking/Responses/GetHomeTimelineMockResponse.swift"
],
"target_dependencies" : [
"MastodonSwift"
],
"type" : "test"
},
{
"c99name" : "MastodonSwift",
"module_type" : "SwiftTarget",
"name" : "MastodonSwift",
"path" : "Sources/MastodonSwift",
"product_dependencies" : [
"OAuthSwift"
],
"product_memberships" : [
"MastodonSwift"
],
"sources" : [
"Entities/AccessToken.swift",
"Entities/Account.swift",
"Entities/App.swift",
"Entities/Application.swift",
"Entities/Attachment.swift",
"Entities/Card.swift",
"Entities/Context.swift",
"Entities/Error.swift",
"Entities/Instance.swift",
"Entities/Markers.swift",
"Entities/Mention.swift",
"Entities/Notification.swift",
"Entities/Relationship.swift",
"Entities/Report.swift",
"Entities/Result.swift",
"Entities/Status.swift",
"Entities/Tag.swift",
"Extensions/Primitive+AsString.swift",
"Extensions/String+AsURL.swift",
"Extensions/URL+OptionalString.swift",
"MastodonClient+Accounts.swift",
"MastodonClient+Convenience.swift",
"MastodonClient+Instances.swift",
"MastodonClient+StatusActions.swift",
"MastodonClient.swift",
"Networking/MultipartFormData.swift",
"Networking/TargetType.swift",
"Targets/Accounts.swift",
"Targets/Apps.swift",
"Targets/Blocks.swift",
"Targets/Favourites.swift",
"Targets/FollowRequests.swift",
"Targets/Follows.swift",
"Targets/Instances.swift",
"Targets/Marker.swift",
"Targets/Mastodon.swift",
"Targets/Media.swift",
"Targets/Mutes.swift",
"Targets/Notifications.swift",
"Targets/OAuth.swift",
"Targets/Reports.swift",
"Targets/Search.swift",
"Targets/Statuses.swift",
"Targets/Timelines.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.