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

Failed to build PlanetScale, reference main (413a28), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:03:06 UTC.

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-cloud/Planetscale.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-cloud/Planetscale
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 413a285 Merge pull request #2 from swift-cloud/add-license-1
Cloned https://github.com/swift-cloud/Planetscale.git
Revision (git rev-parse @):
413a2851133974a6b0b41fdd1bffc701a69a38a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/Planetscale.git at main
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-cloud/Compute
[1/16953] Fetching compute
[171/29656] Fetching compute, cryptoswift
Fetched https://github.com/swift-cloud/Compute from cache (2.24s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.24s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.7.0 (0.65s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (0.63s)
Creating working copy for https://github.com/swift-cloud/Compute
Working copy of https://github.com/swift-cloud/Compute resolved at 2.7.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.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": "planetscale",
      "name": "PlanetScale",
      "url": "https://github.com/swift-cloud/Planetscale.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Planetscale",
      "dependencies": [
        {
          "identity": "compute",
          "name": "Compute",
          "url": "https://github.com/swift-cloud/Compute",
          "version": "2.19.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Compute",
          "dependencies": [
            {
              "identity": "swift-crypto",
              "name": "swift-crypto",
              "url": "https://github.com/apple/swift-crypto",
              "version": "3.9.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
              "dependencies": [
                {
                  "identity": "swift-asn1",
                  "name": "swift-asn1",
                  "url": "https://github.com/apple/swift-asn1.git",
                  "version": "1.3.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-cloud/Planetscale.git
[1/125] Fetching planetscale
Fetched https://github.com/swift-cloud/Planetscale.git from cache (0.65s)
Fetching https://github.com/swift-cloud/Compute from cache
Fetched https://github.com/swift-cloud/Compute from cache (0.45s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.19.0 (0.64s)
Fetching https://github.com/apple/swift-crypto
[1/10416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (1.92s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.9.0 (1.05s)
Fetching https://github.com/apple/swift-asn1.git
[1/1397] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.93s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.0 (0.64s)
Creating working copy for https://github.com/swift-cloud/Compute
Working copy of https://github.com/swift-cloud/Compute resolved at 2.19.0
Creating working copy for https://github.com/swift-cloud/Planetscale.git
Working copy of https://github.com/swift-cloud/Planetscale.git resolved at main (413a285)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.9.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.0
warning: '.resolve-product-dependencies': dependency 'planetscale' is not used by any target
Found 1 product dependencies
  - Compute
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-cloud/Planetscale.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
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/105] Compiling ComputeRuntime ComputeRuntime.c
[6/105] Emitting module CryptoSwift
[7/105] Compiling CryptoSwift Bit.swift
[8/105] Compiling CryptoSwift BlockCipher.swift
[9/105] Compiling CryptoSwift BlockDecryptor.swift
[10/105] Compiling CryptoSwift BlockEncryptor.swift
[11/105] Compiling CryptoSwift BlockMode.swift
[12/105] Compiling CryptoSwift BlockModeOptions.swift
[13/105] Compiling CryptoSwift CBC.swift
[14/105] Compiling CryptoSwift CCM.swift
[15/105] Compiling CryptoSwift CFB.swift
[16/105] Compiling CryptoSwift CTR.swift
[17/105] Compiling CryptoSwift CipherModeWorker.swift
[18/116] Compiling CryptoSwift Multiplication.swift
[19/116] Compiling CryptoSwift Prime Test.swift
[20/116] Compiling CryptoSwift Random.swift
[21/116] Compiling CryptoSwift Shifts.swift
[22/116] Compiling CryptoSwift Square Root.swift
[23/116] Compiling CryptoSwift Strideable.swift
[24/116] Compiling CryptoSwift String Conversion.swift
[25/116] Compiling CryptoSwift Subtraction.swift
[26/116] Compiling CryptoSwift Words and Bits.swift
[27/116] Compiling CryptoSwift ChaCha20.swift
[28/116] Compiling CryptoSwift Checksum.swift
[29/116] Compiling CryptoSwift MD5.swift
[30/116] Compiling CryptoSwift NoPadding.swift
[31/116] Compiling CryptoSwift Operators.swift
[32/116] Compiling CryptoSwift DER.swift
[33/116] Compiling CryptoSwift PBKDF1.swift
[34/116] Compiling CryptoSwift PBKDF2.swift
[35/116] Compiling CryptoSwift PKCS1v15.swift
[36/116] Compiling CryptoSwift PKCS5.swift
[37/116] Compiling CryptoSwift PKCS7.swift
[38/116] Compiling CryptoSwift PKCS7Padding.swift
[39/116] Compiling CryptoSwift Padding.swift
[40/116] Compiling CryptoSwift Cipher.swift
[41/116] Compiling CryptoSwift Collection+Extension.swift
[42/116] Compiling CryptoSwift CompactMap.swift
[43/116] Compiling CryptoSwift Cryptor.swift
[44/116] Compiling CryptoSwift Cryptors.swift
[45/116] Compiling CryptoSwift Digest.swift
[46/116] Compiling CryptoSwift DigestType.swift
[47/116] Compiling CryptoSwift AES+Foundation.swift
[48/116] Compiling CryptoSwift Array+Foundation.swift
[49/116] Compiling CryptoSwift Blowfish+Foundation.swift
[50/116] Compiling CryptoSwift ChaCha20+Foundation.swift
[51/116] Compiling CryptoSwift AEAD.swift
[52/116] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[53/116] Compiling CryptoSwift AES.Cryptors.swift
[54/116] Compiling CryptoSwift AES.swift
[55/116] Compiling CryptoSwift ASN1.swift
[56/116] Compiling CryptoSwift ASN1Decoder.swift
[57/116] Compiling CryptoSwift ASN1Encoder.swift
[58/116] Compiling CryptoSwift ASN1Scanner.swift
[59/116] Compiling CryptoSwift Array+Extension.swift
[60/116] Compiling CryptoSwift Authenticator.swift
[61/116] Compiling CryptoSwift BatchedCollection.swift
[62/116] Compiling CryptoSwift Bitwise Ops.swift
[63/116] Compiling CryptoSwift CS.swift
[64/116] Compiling CryptoSwift Codable.swift
[65/116] Compiling CryptoSwift Comparable.swift
[66/116] Compiling CryptoSwift Data Conversion.swift
[67/116] Compiling CryptoSwift Division.swift
[68/116] Compiling CryptoSwift Exponentiation.swift
[69/116] Compiling CryptoSwift Floating Point Conversion.swift
[70/116] Compiling CryptoSwift GCD.swift
[71/116] Compiling CryptoSwift Hashable.swift
[72/116] Compiling CryptoSwift Integer Conversion.swift
[73/116] Compiling CryptoSwift Poly1305.swift
[74/116] Compiling CryptoSwift RSA+Cipher.swift
[75/116] Compiling CryptoSwift RSA+Signature.swift
[76/116] Compiling CryptoSwift RSA.swift
[77/116] Compiling CryptoSwift Rabbit.swift
[78/116] Compiling CryptoSwift SHA1.swift
[79/116] Compiling CryptoSwift SHA2.swift
[80/116] Compiling CryptoSwift SHA3.swift
[81/116] Compiling CryptoSwift Scrypt.swift
[82/116] Compiling CryptoSwift SecureBytes.swift
[83/116] Compiling CryptoSwift Signature.swift
[84/116] Compiling CryptoSwift Data+Extension.swift
[85/116] Compiling CryptoSwift HMAC+Foundation.swift
[86/116] Compiling CryptoSwift Rabbit+Foundation.swift
[87/116] Compiling CryptoSwift String+FoundationExtension.swift
[88/116] Compiling CryptoSwift Utils+Foundation.swift
[89/116] Compiling CryptoSwift Generics.swift
[90/116] Compiling CryptoSwift HKDF.swift
[91/116] Compiling CryptoSwift HMAC.swift
[92/116] Compiling CryptoSwift ISO10126Padding.swift
[93/116] Compiling CryptoSwift ISO78164Padding.swift
[94/116] Compiling CryptoSwift Int+Extension.swift
[95/116] Compiling CryptoSwift ECB.swift
[96/116] Compiling CryptoSwift GCM.swift
[97/116] Compiling CryptoSwift OCB.swift
[98/116] Compiling CryptoSwift OFB.swift
[99/116] Compiling CryptoSwift PCBC.swift
[100/116] Compiling CryptoSwift Blowfish.swift
[101/116] Compiling CryptoSwift CBCMAC.swift
[102/116] Compiling CryptoSwift CMAC.swift
[103/116] Compiling CryptoSwift Addition.swift
[104/116] Compiling CryptoSwift BigInt.swift
[105/116] Compiling CryptoSwift BigUInt.swift
[106/116] Compiling CryptoSwift StreamDecryptor.swift
[107/116] Compiling CryptoSwift StreamEncryptor.swift
[108/116] Compiling CryptoSwift String+Extension.swift
[109/116] Compiling CryptoSwift UInt128.swift
[110/116] Compiling CryptoSwift UInt16+Extension.swift
[111/116] Compiling CryptoSwift UInt32+Extension.swift
[112/116] Compiling CryptoSwift UInt64+Extension.swift
[113/116] Compiling CryptoSwift UInt8+Extension.swift
[114/116] Compiling CryptoSwift Updatable.swift
[115/116] Compiling CryptoSwift Utils.swift
[116/116] Compiling CryptoSwift ZeroPadding.swift
[117/152] Compiling Compute Fastly.swift
[118/152] Compiling Compute FastlyABI.swift
[119/152] Compiling Compute FastlyBody.swift
[120/152] Compiling Compute FastlyConfigStore.swift
[121/155] Compiling Compute Compute.swift
[122/155] Compiling Compute Concurrency.swift
[123/155] Compiling Compute ConfigStore.swift
[124/155] Compiling Compute Console.swift
[125/155] Compiling Compute Parameters.swift
[126/155] Compiling Compute PathComponent.swift
[127/155] Compiling Compute Routable.swift
[128/155] Compiling Compute Fetch.swift
[129/155] Compiling Compute FetchRequest.swift
[130/155] Compiling Compute FetchResponse.swift
[131/155] Compiling Compute Headers.swift
[132/155] Compiling Compute FastlyPendingRequest.swift
[133/155] Compiling Compute FastlyRequest.swift
[134/155] Compiling Compute FastlyResponse.swift
[135/155] Compiling Compute FastlyStubs.swift
[136/155] Compiling Compute FastlyEnvironment.swift
[137/155] Compiling Compute FastlyGeoLocation.swift
[138/155] Compiling Compute FastlyLogger.swift
[139/155] Compiling Compute FastlyObjectStore.swift
[140/155] Compiling Compute Router.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/WritableBody.swift:38:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
12 |     }
13 |
14 |     internal private(set) var body: Fastly.Body
   |                               `- note: mutation of this property is only permitted within the actor
15 |
16 |     internal let writable: Bool
   :
36 |     public func append(_ source: isolated ReadableBody) async throws {
37 |         guard writable else { return }
38 |         try body.append(source.body)
   |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
39 |         try await Task.nextTick()
40 |     }
[141/155] Compiling Compute TrieRouter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/WritableBody.swift:38:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
12 |     }
13 |
14 |     internal private(set) var body: Fastly.Body
   |                               `- note: mutation of this property is only permitted within the actor
15 |
16 |     internal let writable: Bool
   :
36 |     public func append(_ source: isolated ReadableBody) async throws {
37 |         guard writable else { return }
38 |         try body.append(source.body)
   |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
39 |         try await Task.nextTick()
40 |     }
[142/155] Compiling Compute WritableBody.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/WritableBody.swift:38:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
12 |     }
13 |
14 |     internal private(set) var body: Fastly.Body
   |                               `- note: mutation of this property is only permitted within the actor
15 |
16 |     internal let writable: Bool
   :
36 |     public func append(_ source: isolated ReadableBody) async throws {
37 |         guard writable else { return }
38 |         try body.append(source.body)
   |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
39 |         try await Task.nextTick()
40 |     }
[143/155] Emitting module Compute
[144/155] Compiling Compute IncomingRequest.swift
[145/155] Compiling Compute JWT.swift
[146/155] Compiling Compute ObjectStore.swift
[147/155] Compiling Compute OutgoingResponse.swift
[148/155] Compiling Compute FastlyTypes.swift
[149/155] Compiling Compute FastlyUtils.swift
[150/155] Compiling Compute Fetch+URLSession.swift
[151/155] Compiling Compute Fetch+Wasi.swift
[152/155] Compiling Compute Range.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/ReadableBody/ReadableBody+Wasi.swift:35:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 12 |     }
 13 |
 14 |     private(set) var body: Fastly.Body
    |                      `- note: mutation of this property is only permitted within the actor
 15 |
 16 |     private var _bytes: [UInt8]? = nil
    :
 33 |     func pipeTo(_ dest: isolated WritableBody, preventClose: Bool) async throws {
 34 |         var destBody = dest.body
 35 |         try body.read {
    |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 36 |             try destBody.write($0)
 37 |             return .continue
[153/155] Compiling Compute ReadableBody+Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/ReadableBody/ReadableBody+Wasi.swift:35:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 12 |     }
 13 |
 14 |     private(set) var body: Fastly.Body
    |                      `- note: mutation of this property is only permitted within the actor
 15 |
 16 |     private var _bytes: [UInt8]? = nil
    :
 33 |     func pipeTo(_ dest: isolated WritableBody, preventClose: Bool) async throws {
 34 |         var destBody = dest.body
 35 |         try body.read {
    |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 36 |             try destBody.write($0)
 37 |             return .continue
[154/155] Compiling Compute ReadableBody+Wasi.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/ReadableBody/ReadableBody+Wasi.swift:35:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 12 |     }
 13 |
 14 |     private(set) var body: Fastly.Body
    |                      `- note: mutation of this property is only permitted within the actor
 15 |
 16 |     private var _bytes: [UInt8]? = nil
    :
 33 |     func pipeTo(_ dest: isolated WritableBody, preventClose: Bool) async throws {
 34 |         var destBody = dest.body
 35 |         try body.read {
    |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 36 |             try destBody.write($0)
 37 |             return .continue
[155/155] Compiling Compute ReadableBody.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Compute/Sources/Compute/ReadableBody/ReadableBody+Wasi.swift:35:13: error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 12 |     }
 13 |
 14 |     private(set) var body: Fastly.Body
    |                      `- note: mutation of this property is only permitted within the actor
 15 |
 16 |     private var _bytes: [UInt8]? = nil
    :
 33 |     func pipeTo(_ dest: isolated WritableBody, preventClose: Bool) async throws {
 34 |         var destBody = dest.body
 35 |         try body.read {
    |             `- error: actor-isolated property 'body' can not be mutated on a nonisolated actor instance
 36 |             try destBody.write($0)
 37 |             return .continue
BUILD FAILURE 6.0 macosSpm