Build Information
Failed to build MongoDB with Swift 6.0 for macOS (SPM).
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/swift-cloud/MongoDB.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-cloud/MongoDB
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at beaee95 Update README.md
Cloned https://github.com/swift-cloud/MongoDB.git
Revision (git rev-parse @):
beaee95758d6085b9c971365295eb49f681d0a69
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/MongoDB.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/swift-cloud/MongoDB.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/5] Write sources
[3/5] Write swift-version-6F35C1178C84523A.txt
[4/67] Compiling ComputeRuntime ComputeRuntime.c
[6/67] Emitting module Crypto
[7/73] Compiling Crypto AESWrap.swift
[8/73] Compiling Crypto AESWrap_boring.swift
[9/73] Compiling Crypto Ed25519_boring.swift
[10/73] Compiling Crypto EllipticCurvePoint_boring.swift
[11/73] Compiling Crypto EllipticCurve_boring.swift
[12/73] Compiling Crypto NISTCurvesKeys_boring.swift
[13/73] Compiling Crypto X25519Keys_boring.swift
[14/73] Compiling Crypto ASN1Any.swift
[15/73] Compiling Crypto ASN1BitString.swift
[16/73] Compiling Crypto ASN1Boolean.swift
[17/73] Compiling Crypto ASN1Identifier.swift
[18/73] Compiling Crypto ASN1Integer.swift
[19/73] Compiling Crypto ASN1Null.swift
[20/73] Compiling Crypto ASN1OctetString.swift
[21/73] Compiling Crypto MessageAuthenticationCode.swift
[22/73] Compiling Crypto AES.swift
[23/73] Compiling Crypto ECDSASignature_boring.swift
[24/73] Compiling Crypto ECDSA_boring.swift
[25/73] Compiling Crypto EdDSA_boring.swift
[26/73] Compiling Crypto ECDSA.swift
[27/73] Compiling Crypto AES-GCM.swift
[28/73] Compiling Crypto AES-GCM_boring.swift
[29/73] Compiling Crypto ChaChaPoly_boring.swift
[30/73] Compiling Crypto ChaChaPoly.swift
[31/73] Compiling Crypto Cipher.swift
[32/73] Compiling Crypto Nonces.swift
[33/73] Compiling Crypto ASN1.swift
[34/73] Compiling Crypto SafeCompare_boring.swift
[35/73] Compiling Crypto Zeroization_boring.swift
[36/73] Compiling Crypto PrettyBytes.swift
[37/73] Compiling Crypto SafeCompare.swift
[38/73] Compiling Crypto SecureBytes.swift
[39/73] Compiling Crypto Zeroization.swift
[40/73] Compiling Crypto EdDSA.swift
[41/73] Compiling Crypto Signature.swift
[42/73] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[43/73] Compiling Crypto CryptoKitErrors_boring.swift
[44/73] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[45/73] Compiling Crypto RNG_boring.swift
[46/73] Compiling Crypto HashFunctions_SHA2.swift
[47/73] Compiling Crypto Insecure.swift
[48/73] Compiling Crypto Insecure_HashFunctions.swift
[49/73] Compiling Crypto ECDH_boring.swift
[50/73] Compiling Crypto DH.swift
[51/73] Compiling Crypto ECDH.swift
[52/73] Compiling Crypto HKDF.swift
[53/73] Compiling Crypto Curve25519.swift
[54/73] Compiling Crypto Ed25519.swift
[55/73] Compiling Crypto NISTCurvesKeys.swift
[56/73] Compiling Crypto X25519Keys.swift
[57/73] Compiling Crypto SymmetricKeys.swift
[58/73] Compiling Crypto HMAC.swift
[59/73] Compiling Crypto MACFunctions.swift
[60/73] Compiling Crypto ASN1Strings.swift
[61/73] Compiling Crypto ArraySliceBigint.swift
[62/73] Compiling Crypto GeneralizedTime.swift
[63/73] Compiling Crypto ObjectIdentifier.swift
[64/73] Compiling Crypto ECDSASignature.swift
[65/73] Compiling Crypto PEMDocument.swift
[66/73] Compiling Crypto PKCS8PrivateKey.swift
[67/73] Compiling Crypto SEC1PrivateKey.swift
[68/73] Compiling Crypto SubjectPublicKeyInfo.swift
[69/73] Compiling Crypto CryptoKitErrors.swift
[70/73] Compiling Crypto Digest_boring.swift
[71/73] Compiling Crypto Digest.swift
[72/73] Compiling Crypto Digests.swift
[73/73] Compiling Crypto HashFunctions.swift
[74/118] Compiling Compute ObjectStore.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 non-isolated 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 non-isolated actor instance
36 | try destBody.write($0)
37 | return .continue
[75/118] Compiling Compute OutgoingResponse.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 non-isolated 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 non-isolated actor instance
36 | try destBody.write($0)
37 | return .continue
[76/118] 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 non-isolated 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 non-isolated actor instance
36 | try destBody.write($0)
37 | return .continue
[77/118] 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 non-isolated 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 non-isolated actor instance
36 | try destBody.write($0)
37 | return .continue
[78/118] 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 non-isolated 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 non-isolated actor instance
36 | try destBody.write($0)
37 | return .continue
[79/122] Compiling Compute FastlyABI.swift
[80/122] Compiling Compute FastlyBody.swift
[81/122] Compiling Compute FastlyConfigStore.swift
[82/122] Compiling Compute FastlyEnvironment.swift
[83/122] Compiling Compute FastlyError.swift
[84/122] Compiling Compute Compute.swift
[85/122] Compiling Compute Concurrency.swift
[86/122] Compiling Compute ConfigStore.swift
[87/122] Compiling Compute Console.swift
[88/122] Compiling Compute Crypto.swift
[89/122] 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 non-isolated 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 non-isolated actor instance
39 | try await Task.nextTick()
40 | }
[90/122] 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 non-isolated 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 non-isolated actor instance
39 | try await Task.nextTick()
40 | }
[91/122] Compiling Compute SecretStore.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 non-isolated 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 non-isolated actor instance
39 | try await Task.nextTick()
40 | }
[92/122] 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 non-isolated 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 non-isolated actor instance
39 | try await Task.nextTick()
40 | }
[93/122] Compiling Compute Headers.swift
[94/122] Compiling Compute IncomingRequest.swift
[95/122] Compiling Compute JWT.swift
[96/122] Compiling Compute JWTClaim.swift
[97/122] Compiling Compute JWTError.swift
[98/122] Compiling Compute ReadableBody.swift
[99/122] Compiling Compute Parameters.swift
[100/122] Compiling Compute PathComponent.swift
[101/122] Compiling Compute Routable.swift
[102/122] Compiling Compute FanoutClient.swift
[103/122] Compiling Compute FanoutMessage.swift
[104/122] Compiling Compute IncomingRequest+Fanout.swift
[105/122] Compiling Compute OutgoingResponse+Fanout.swift
[106/122] Compiling Compute Fastly.swift
[107/122] Emitting module Compute
[108/122] Compiling Compute Fetch+URLSession.swift
[109/122] Compiling Compute Fetch+Wasi.swift
[110/122] Compiling Compute Fetch.swift
[111/122] Compiling Compute FetchRequest.swift
[112/122] Compiling Compute FetchResponse.swift
[113/122] Compiling Compute FastlyResponse.swift
[114/122] Compiling Compute FastlySecretStore.swift
[115/122] Compiling Compute FastlyStubs.swift
[116/122] Compiling Compute FastlyTypes.swift
[117/122] Compiling Compute FastlyUtils.swift
[118/122] Compiling Compute FastlyGeoLocation.swift
[119/122] Compiling Compute FastlyLogger.swift
[120/122] Compiling Compute FastlyObjectStore.swift
[121/122] Compiling Compute FastlyPendingRequest.swift
[122/122] Compiling Compute FastlyRequest.swift
Fetching https://github.com/swift-cloud/Compute
Fetching https://github.com/swift-cloud/swift-crypto
[1/16943] Fetching compute
[2/21078] Fetching compute, swift-crypto
Fetched https://github.com/swift-cloud/Compute from cache (1.76s)
Fetched https://github.com/swift-cloud/swift-crypto from cache (1.76s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.12.0 (0.72s)
Computing version for https://github.com/swift-cloud/swift-crypto
Computed https://github.com/swift-cloud/swift-crypto at 2.2.4 (0.70s)
Creating working copy for https://github.com/swift-cloud/Compute
Working copy of https://github.com/swift-cloud/Compute resolved at 2.12.0
Creating working copy for https://github.com/swift-cloud/swift-crypto
Working copy of https://github.com/swift-cloud/swift-crypto resolved at 2.2.4
BUILD FAILURE 6.0 macosSpm