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 Poppo, reference master (e3f61c), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:43:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rb-de0/Poppo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rb-de0/Poppo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e3f61c8 Merge pull request #4 from rb-de0/swift-5.2
Cloned https://github.com/rb-de0/Poppo.git
Revision (git rev-parse @):
e3f61c8f020417ca40d5b96470ea9b0b5ca4b505
SUCCESS checkout https://github.com/rb-de0/Poppo.git at master
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1640] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.90s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.56s)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
========================================
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": "poppo",
      "name": "Poppo",
      "url": "https://github.com/rb-de0/Poppo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Poppo",
      "dependencies": [
        {
          "identity": "bluecryptor",
          "name": "Cryptor",
          "url": "https://github.com/IBM-Swift/BlueCryptor.git",
          "version": "1.0.200",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueCryptor",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/rb-de0/Poppo.git
[1/151] Fetching poppo
Fetched https://github.com/rb-de0/Poppo.git from cache (1.45s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git from cache
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.50s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.03s)
Creating working copy for https://github.com/rb-de0/Poppo.git
Working copy of https://github.com/rb-de0/Poppo.git resolved at master (e3f61c8)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
warning: '.resolve-product-dependencies': dependency 'poppo' is not used by any target
Found 1 product dependencies
  - Cryptor
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rb-de0/Poppo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[4/14] Compiling Cryptor StreamCryptor.swift
[5/15] Compiling Cryptor Updatable.swift
[6/15] Compiling Cryptor SSLPointerTricks.swift
[7/15] Compiling Cryptor Status.swift
[8/15] Compiling Cryptor KeyDerivation.swift
[9/15] Compiling Cryptor HMAC.swift
[10/15] Emitting module Cryptor
[11/15] Compiling Cryptor Crypto.swift
[12/15] Compiling Cryptor Cryptor.swift
[13/15] Compiling Cryptor Digest.swift
[14/15] Compiling Cryptor Random.swift
[15/15] Compiling Cryptor Utilities.swift
[16/23] Compiling Poppo URLSessionHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLSessionHTTPClient.swift:16:13: warning: capture of 'self' with non-sendable type 'URLSessionHTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 |
 7 | // URLSession Client
 8 | class URLSessionHTTPClient: HTTPClient {
   |       `- note: class 'URLSessionHTTPClient' does not conform to the 'Sendable' protocol
 9 |
10 |     private let semaphore = DispatchSemaphore(value: 0)
   :
14 |         let session = URLSession(configuration: config)
15 |         let task = session.dataTask(with: request){(data, resp, err) in
16 |             self.semaphore.signal()
   |             `- warning: capture of 'self' with non-sendable type 'URLSessionHTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |
18 |         }
[17/23] Compiling Poppo OAuthClient.swift
[18/23] Compiling Poppo Poppo.swift
[19/23] Compiling Poppo API.swift
[20/23] Compiling Poppo HTTPClient.swift
[21/23] Compiling Poppo URLEncoder.swift
[22/23] Emitting module Poppo
[23/23] Compiling Poppo CurlHTTPClient.swift
Build complete! (18.38s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueCryptor.git"
    }
  ],
  "manifest_display_name" : "Poppo",
  "name" : "Poppo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Poppo",
      "targets" : [
        "Poppo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PoppoTests",
      "module_type" : "SwiftTarget",
      "name" : "PoppoTests",
      "path" : "Tests/PoppoTests",
      "sources" : [
        "PoppoTests.swift"
      ],
      "target_dependencies" : [
        "Poppo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Poppo",
      "module_type" : "SwiftTarget",
      "name" : "Poppo",
      "path" : "Sources",
      "product_dependencies" : [
        "Cryptor"
      ],
      "product_memberships" : [
        "Poppo"
      ],
      "sources" : [
        "API.swift",
        "CurlHTTPClient.swift",
        "HTTPClient.swift",
        "OAuthClient.swift",
        "Poppo.swift",
        "URLEncoder.swift",
        "URLSessionHTTPClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.