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 Tips, reference master (f489e1), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 05:35:08 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/unnamedd/swifttips-framework.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/unnamedd/swifttips-framework
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f489e18 changed access level from initializer to Tricks
Cloned https://github.com/unnamedd/swifttips-framework.git
Revision (git rev-parse @):
f489e18d8ac4c7ff3688a6d2590edfc40645afb7
SUCCESS checkout https://github.com/unnamedd/swifttips-framework.git at master
========================================
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": "swifttips-framework",
      "name": "Tips",
      "url": "https://github.com/unnamedd/swifttips-framework.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifttips-framework",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/unnamedd/swifttips-framework.git
[1/126] Fetching swifttips-framework
Fetched https://github.com/unnamedd/swifttips-framework.git from cache (0.58s)
Creating working copy for https://github.com/unnamedd/swifttips-framework.git
Working copy of https://github.com/unnamedd/swifttips-framework.git resolved at master (f489e18)
warning: '.resolve-product-dependencies': dependency 'swifttips-framework' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/unnamedd/swifttips-framework.git
https://github.com/unnamedd/swifttips-framework.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Tips",
  "name" : "Tips",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TipsCore",
      "targets" : [
        "TipsCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TipsTests",
      "module_type" : "SwiftTarget",
      "name" : "TipsTests",
      "path" : "Tests/TipsTests",
      "sources" : [
        "TipsTests.swift"
      ],
      "target_dependencies" : [
        "TipsCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TipsCore",
      "module_type" : "SwiftTarget",
      "name" : "TipsCore",
      "path" : "Sources/TipsCore",
      "product_memberships" : [
        "TipsCore"
      ],
      "sources" : [
        "Models/Comment.swift",
        "Models/Owner.swift",
        "Models/Source.swift",
        "Models/Tip.swift",
        "Services/GithubService.swift",
        "Services/Service.swift",
        "Tricks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling TipsCore Tip.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Tip.swift:10:5: warning: 'public' modifier is redundant for struct declared in a public extension
 8 |
 9 | public extension Tricks {
10 |     public struct Tip {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
11 |         public var issue: Int?
12 |         public var title: String?
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Tip.swift:68:39: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
66 |
67 |                 if values.count > 0 {
68 |                     comments = values.flatMap({ Comment($0.trimming()) })
   |                                       |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                       `- note: use 'compactMap(_:)' instead
69 |                 }
70 |             }
[4/10] Compiling TipsCore GithubService.swift
[5/10] Compiling TipsCore Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Services/Service.swift:81:17: warning: capture of 'completion' with non-sendable type '(ServiceResult<Data>) -> Void' in a '@Sendable' closure
79 |         let task = URLSession.shared.dataTask(with: request) { data, _, error in
80 |             if let error = error {
81 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(ServiceResult<Data>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
82 |             }
83 |             else if let data = data {
[6/10] Compiling TipsCore Source.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Source.swift:4:5: warning: 'public' modifier is redundant for struct declared in a public extension
 2 |
 3 | public extension Tricks {
 4 |     public struct Source {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 5 |         public var markdownURL: String
 6 |         public var owner: Owner
[7/10] Compiling TipsCore Comment.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Comment.swift:3:5: warning: 'public' modifier is redundant for struct declared in a public extension
 1 | import Foundation
 2 | public extension Tricks {
 3 |     public struct Comment {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 4 |         public var text: String?
 5 |
[8/10] Emitting module TipsCore
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Comment.swift:3:5: warning: 'public' modifier is redundant for struct declared in a public extension
 1 | import Foundation
 2 | public extension Tricks {
 3 |     public struct Comment {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 4 |         public var text: String?
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Owner.swift:4:5: warning: 'public' modifier is redundant for struct declared in a public extension
 2 |
 3 | public extension Tricks {
 4 |     public struct Owner {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 5 |         public var name: String
 6 |         public var github: String
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Source.swift:4:5: warning: 'public' modifier is redundant for struct declared in a public extension
 2 |
 3 | public extension Tricks {
 4 |     public struct Source {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 5 |         public var markdownURL: String
 6 |         public var owner: Owner
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Tip.swift:10:5: warning: 'public' modifier is redundant for struct declared in a public extension
 8 |
 9 | public extension Tricks {
10 |     public struct Tip {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
11 |         public var issue: Int?
12 |         public var title: String?
[9/10] Compiling TipsCore Tricks.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Tricks.swift:34:28: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
32 |         let content = text as NSString
33 |
34 |         let tips = results.flatMap { Tip(content, match: $0) }
   |                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                            `- note: use 'compactMap(_:)' instead
35 |         self.tips = tips
36 |
[10/10] Compiling TipsCore Owner.swift
/Users/admin/builder/spi-builder-workspace/Sources/TipsCore/Models/Owner.swift:4:5: warning: 'public' modifier is redundant for struct declared in a public extension
 2 |
 3 | public extension Tricks {
 4 |     public struct Owner {
   |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 5 |         public var name: String
 6 |         public var github: String
Build complete! (5.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Tips",
  "name" : "Tips",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TipsCore",
      "targets" : [
        "TipsCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TipsTests",
      "module_type" : "SwiftTarget",
      "name" : "TipsTests",
      "path" : "Tests/TipsTests",
      "sources" : [
        "TipsTests.swift"
      ],
      "target_dependencies" : [
        "TipsCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TipsCore",
      "module_type" : "SwiftTarget",
      "name" : "TipsCore",
      "path" : "Sources/TipsCore",
      "product_memberships" : [
        "TipsCore"
      ],
      "sources" : [
        "Models/Comment.swift",
        "Models/Owner.swift",
        "Models/Source.swift",
        "Models/Tip.swift",
        "Services/GithubService.swift",
        "Services/Service.swift",
        "Tricks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.