The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MastodonSwift, reference main (e2f7ce), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 23:49:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Swiftodon/Mastodon.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/32] Emitting module OAuthSwift
[5/35] Compiling OAuthSwift Collection+OAuthSwift.swift
[6/35] Compiling OAuthSwift Data+OAuthSwift.swift
[7/35] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[8/35] Compiling OAuthSwift HMAC.swift
[9/35] Compiling OAuthSwift URL+OAuthSwift.swift
[10/35] Compiling OAuthSwift URLConvertible.swift
[11/35] Compiling OAuthSwift Utils.swift
[12/35] Compiling OAuthSwift OAuthSwiftCredential.swift
[13/35] Compiling OAuthSwift OAuthSwiftError.swift
[14/35] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
[15/35] Compiling OAuthSwift SafariURLHandler.swift
[16/35] Compiling OAuthSwift Int+OAuthSwift.swift
[17/35] Compiling OAuthSwift NSError+OAuthSwift.swift
[18/35] Compiling OAuthSwift OAuthLogProtocol.swift
[19/35] Compiling OAuthSwift OAuthSwift.swift
[20/35] Compiling OAuthSwift OAuthSwiftClient.swift
[21/35] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
[22/35] Compiling OAuthSwift OAuth1Swift.swift
[23/35] Compiling OAuthSwift OAuth2Swift.swift
[24/35] Compiling OAuthSwift OAuthSwiftMultipartData.swift
[25/35] Compiling OAuthSwift OAuthSwiftResponse.swift
[26/35] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
[27/35] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
[28/35] Compiling OAuthSwift ExtensionContextURLHandler.swift
[29/35] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
[30/35] Compiling OAuthSwift SHA1.swift
[31/35] Compiling OAuthSwift String+OAuthSwift.swift
[32/35] Compiling OAuthSwift UIApplication+OAuthSwift.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 Mention.swift
[38/80] Compiling MastodonSwift Notification.swift
[39/80] Compiling MastodonSwift Relationship.swift
[40/80] Compiling MastodonSwift Report.swift
[41/80] Compiling MastodonSwift Result.swift
[42/80] Compiling MastodonSwift Media.swift
[43/80] Compiling MastodonSwift Mutes.swift
[44/80] Compiling MastodonSwift Notifications.swift
[45/80] Compiling MastodonSwift OAuth.swift
[46/80] Compiling MastodonSwift Apps.swift
[47/80] Compiling MastodonSwift Blocks.swift
[48/80] Compiling MastodonSwift Favourites.swift
[49/80] Compiling MastodonSwift FollowRequests.swift
[50/80] Compiling MastodonSwift Follows.swift
[51/80] Compiling MastodonSwift Instances.swift
[52/80] Compiling MastodonSwift Marker.swift
[53/80] Compiling MastodonSwift Mastodon.swift
[54/80] Compiling MastodonSwift Card.swift
[55/80] Compiling MastodonSwift Context.swift
[56/80] Compiling MastodonSwift Error.swift
[57/80] Compiling MastodonSwift Instance.swift
[58/80] Compiling MastodonSwift Markers.swift
[59/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/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
[60/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/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
[61/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/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
[62/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/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
[63/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
[64/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
[65/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
[66/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
[67/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
[68/80] Compiling MastodonSwift Reports.swift
[69/80] Compiling MastodonSwift Search.swift
[70/80] Compiling MastodonSwift Statuses.swift
[71/80] Compiling MastodonSwift Timelines.swift
[72/80] Compiling MastodonSwift MastodonClient.swift
[73/80] Compiling MastodonSwift MultipartFormData.swift
[74/80] Compiling MastodonSwift TargetType.swift
[75/80] Compiling MastodonSwift Accounts.swift
[76/80] Compiling MastodonSwift Status.swift
[77/80] Compiling MastodonSwift Tag.swift
[78/80] Compiling MastodonSwift Primitive+AsString.swift
[79/80] Compiling MastodonSwift String+AsURL.swift
[80/80] Compiling MastodonSwift URL+OptionalString.swift
Build complete! (22.32s)
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5134] Fetching oauthswift
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (1.23s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (1.75s)
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/tid-kijyun/Kanna.git
[1/642] Fetching erik
[168/2999] Fetching erik, kanna
[451/9049] Fetching erik, kanna, swifter
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.95s)
[2276/6692] Fetching erik, swifter
Fetched https://github.com/httpswift/swifter.git from cache (1.39s)
Fetched https://github.com/phimage/Erik.git from cache (1.39s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (1.90s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.49s)
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
[1/4067] Fetching brightfutures
[42/7190] Fetching brightfutures, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (1.53s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.53s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (2.04s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.50s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.50s)
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.3.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
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/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
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.