This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 MastodonSwift with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

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/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.0
Building package at path:  $workDir
https://github.com/Swiftodon/Mastodon.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.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 OAuthSwiftCredential.swift
[9/35] Compiling OAuthSwift OAuthSwiftError.swift
[10/35] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
[11/35] Compiling OAuthSwift SHA1.swift
[12/35] Compiling OAuthSwift String+OAuthSwift.swift
[13/35] Compiling OAuthSwift UIApplication+OAuthSwift.swift
[14/35] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
[15/35] Compiling OAuthSwift OAuth1Swift.swift
[16/35] Compiling OAuthSwift OAuth2Swift.swift
[17/35] Compiling OAuthSwift OAuthLogProtocol.swift
[18/35] Compiling OAuthSwift OAuthSwift.swift
[19/35] Compiling OAuthSwift OAuthSwiftClient.swift
[20/35] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
[21/35] Compiling OAuthSwift ExtensionContextURLHandler.swift
[22/35] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
[23/35] Compiling OAuthSwift SafariURLHandler.swift
[24/35] Compiling OAuthSwift Int+OAuthSwift.swift
[25/35] Compiling OAuthSwift NSError+OAuthSwift.swift
[26/35] Compiling OAuthSwift OAuthSwiftMultipartData.swift
[27/35] Compiling OAuthSwift OAuthSwiftResponse.swift
[28/35] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
[29/35] Compiling OAuthSwift Collection+OAuthSwift.swift
[30/35] Compiling OAuthSwift Data+OAuthSwift.swift
[31/35] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[32/35] Compiling OAuthSwift HMAC.swift
[33/35] Compiling OAuthSwift OAuthSwiftURLHandlerProxy.swift
[34/35] Compiling OAuthSwift OAuthWebViewController.swift
[35/35] Compiling OAuthSwift SFAuthenticationURLHandler.swift
[36/76] Compiling MastodonSwift Apps.swift
[37/76] Compiling MastodonSwift Blocks.swift
[38/76] Compiling MastodonSwift Favourites.swift
[39/76] Compiling MastodonSwift FollowRequests.swift
[40/80] Compiling MastodonSwift MastodonClient.swift
[41/80] Compiling MastodonSwift MultipartFormData.swift
[42/80] Compiling MastodonSwift TargetType.swift
[43/80] Compiling MastodonSwift Accounts.swift
[44/80] Compiling MastodonSwift Media.swift
[45/80] Compiling MastodonSwift Mutes.swift
[46/80] Compiling MastodonSwift Notifications.swift
[47/80] Compiling MastodonSwift OAuth.swift
[48/80] Compiling MastodonSwift Follows.swift
[49/80] Compiling MastodonSwift Instances.swift
[50/80] Compiling MastodonSwift Marker.swift
[51/80] Compiling MastodonSwift Mastodon.swift
[52/80] Compiling MastodonSwift Mention.swift
[53/80] Compiling MastodonSwift Notification.swift
[54/80] Compiling MastodonSwift Relationship.swift
[55/80] Compiling MastodonSwift Report.swift
[56/80] Compiling MastodonSwift Result.swift
[57/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
[58/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
[59/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
[60/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
[61/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
[62/80] 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
[63/80] Compiling MastodonSwift Card.swift
[64/80] Compiling MastodonSwift Context.swift
[65/80] Compiling MastodonSwift Error.swift
[66/80] Compiling MastodonSwift Instance.swift
[67/80] Compiling MastodonSwift Markers.swift
[68/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,
[69/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,
[70/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,
[71/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,
[72/80] Compiling MastodonSwift Status.swift
[73/80] Compiling MastodonSwift Tag.swift
[74/80] Compiling MastodonSwift Primitive+AsString.swift
[75/80] Compiling MastodonSwift String+AsURL.swift
[76/80] Compiling MastodonSwift URL+OptionalString.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! (45.11s)
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/tid-kijyun/Kanna.git
[1/4067] Fetching brightfutures
[42/4709] Fetching brightfutures, erik
[164/6990] Fetching brightfutures, erik, kanna
[233/10113] Fetching brightfutures, erik, kanna, filekit
[905/16145] Fetching brightfutures, erik, kanna, filekit, swifter
[966/21267] Fetching brightfutures, erik, kanna, filekit, swifter, oauthswift
Fetched https://github.com/nvzqz/FileKit.git from cache (1.43s)
Fetched https://github.com/phimage/Erik.git from cache (1.43s)
[15025/17502] Fetching brightfutures, kanna, swifter, oauthswift
Fetched https://github.com/httpswift/swifter.git from cache (1.67s)
[11133/11470] Fetching brightfutures, kanna, oauthswift
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.84s)
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (1.84s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (1.84s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (0.73s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.68s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.2.7 (0.67s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.68s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.68s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.68s)
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/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
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.0.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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.