Build Information
Failed to build MongoDB, reference main (beaee9
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:08:23 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/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: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/MongoDB.git at main
Fetching https://github.com/swift-cloud/swift-crypto
Fetching https://github.com/swift-cloud/Compute
[1/16953] Fetching compute
[1697/21088] Fetching compute, swift-crypto
Fetched https://github.com/swift-cloud/swift-crypto from cache (12.11s)
Fetched https://github.com/swift-cloud/Compute from cache (12.11s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.12.0 (0.73s)
Computing version for https://github.com/swift-cloud/swift-crypto
Computed https://github.com/swift-cloud/swift-crypto at 2.2.4 (0.69s)
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
========================================
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": "mongodb",
"name": "MongoDB",
"url": "https://github.com/swift-cloud/MongoDB.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MongoDB",
"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/MongoDB.git
[1/184] Fetching mongodb
Fetched https://github.com/swift-cloud/MongoDB.git from cache (0.67s)
Fetching https://github.com/swift-cloud/Compute from cache
Fetched https://github.com/swift-cloud/Compute from cache (0.46s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.19.0 (0.67s)
Fetching https://github.com/apple/swift-crypto
[1/10416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (1.79s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.9.0 (1.03s)
Fetching https://github.com/apple/swift-asn1.git
[1/1397] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.0 (0.69s)
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
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/swift-cloud/MongoDB.git
Working copy of https://github.com/swift-cloud/MongoDB.git resolved at main (beaee95)
Creating working copy for https://github.com/swift-cloud/Compute
Working copy of https://github.com/swift-cloud/Compute resolved at 2.19.0
warning: '.resolve-product-dependencies': dependency 'mongodb' 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/MongoDB.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/67] Compiling ComputeRuntime ComputeRuntime.c
[6/67] Emitting module Crypto
[7/73] Compiling Crypto SEC1PrivateKey.swift
[8/73] Compiling Crypto SubjectPublicKeyInfo.swift
[9/73] Compiling Crypto CryptoKitErrors.swift
[10/73] Compiling Crypto Digest_boring.swift
[11/73] Compiling Crypto Digest.swift
[12/73] Compiling Crypto Digests.swift
[13/73] Compiling Crypto HashFunctions.swift
[14/73] Compiling Crypto AESWrap.swift
[15/73] Compiling Crypto AESWrap_boring.swift
[16/73] Compiling Crypto Ed25519_boring.swift
[17/73] Compiling Crypto EllipticCurvePoint_boring.swift
[18/73] Compiling Crypto EllipticCurve_boring.swift
[19/73] Compiling Crypto NISTCurvesKeys_boring.swift
[20/73] Compiling Crypto X25519Keys_boring.swift
[21/73] Compiling Crypto ASN1Any.swift
[22/73] Compiling Crypto ASN1BitString.swift
[23/73] Compiling Crypto ASN1Boolean.swift
[24/73] Compiling Crypto ASN1Identifier.swift
[25/73] Compiling Crypto ASN1Integer.swift
[26/73] Compiling Crypto ASN1Null.swift
[27/73] Compiling Crypto ASN1OctetString.swift
[28/73] Compiling Crypto ASN1Strings.swift
[29/73] Compiling Crypto ArraySliceBigint.swift
[30/73] Compiling Crypto GeneralizedTime.swift
[31/73] Compiling Crypto ObjectIdentifier.swift
[32/73] Compiling Crypto ECDSASignature.swift
[33/73] Compiling Crypto PEMDocument.swift
[34/73] Compiling Crypto PKCS8PrivateKey.swift
[35/73] Compiling Crypto SafeCompare_boring.swift
[36/73] Compiling Crypto Zeroization_boring.swift
[37/73] Compiling Crypto PrettyBytes.swift
[38/73] Compiling Crypto SafeCompare.swift
[39/73] Compiling Crypto SecureBytes.swift
[40/73] Compiling Crypto Zeroization.swift
[41/73] Compiling Crypto HashFunctions_SHA2.swift
[42/73] Compiling Crypto Insecure.swift
[43/73] Compiling Crypto Insecure_HashFunctions.swift
[44/73] Compiling Crypto ECDH_boring.swift
[45/73] Compiling Crypto DH.swift
[46/73] Compiling Crypto ECDH.swift
[47/73] Compiling Crypto HKDF.swift
[48/73] Compiling Crypto EdDSA.swift
[49/73] Compiling Crypto Signature.swift
[50/73] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[51/73] Compiling Crypto CryptoKitErrors_boring.swift
[52/73] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[53/73] Compiling Crypto RNG_boring.swift
[54/73] Compiling Crypto AES-GCM.swift
[55/73] Compiling Crypto AES-GCM_boring.swift
[56/73] Compiling Crypto ChaChaPoly_boring.swift
[57/73] Compiling Crypto ChaChaPoly.swift
[58/73] Compiling Crypto Cipher.swift
[59/73] Compiling Crypto Nonces.swift
[60/73] Compiling Crypto ASN1.swift
[61/73] Compiling Crypto MessageAuthenticationCode.swift
[62/73] Compiling Crypto AES.swift
[63/73] Compiling Crypto ECDSASignature_boring.swift
[64/73] Compiling Crypto ECDSA_boring.swift
[65/73] Compiling Crypto EdDSA_boring.swift
[66/73] Compiling Crypto ECDSA.swift
[67/73] Compiling Crypto Curve25519.swift
[68/73] Compiling Crypto Ed25519.swift
[69/73] Compiling Crypto NISTCurvesKeys.swift
[70/73] Compiling Crypto X25519Keys.swift
[71/73] Compiling Crypto SymmetricKeys.swift
[72/73] Compiling Crypto HMAC.swift
[73/73] Compiling Crypto MACFunctions.swift
[74/118] Compiling Compute FastlyABI.swift
[75/118] Compiling Compute FastlyBody.swift
[76/118] Compiling Compute FastlyConfigStore.swift
[77/118] Compiling Compute FastlyEnvironment.swift
[78/118] Compiling Compute FastlyError.swift
[79/122] Compiling Compute Compute.swift
[80/122] Compiling Compute Concurrency.swift
[81/122] Compiling Compute ConfigStore.swift
[82/122] Compiling Compute Console.swift
[83/122] Compiling Compute Crypto.swift
[84/122] Compiling Compute FanoutClient.swift
[85/122] Compiling Compute FanoutMessage.swift
[86/122] Compiling Compute IncomingRequest+Fanout.swift
[87/122] Compiling Compute OutgoingResponse+Fanout.swift
[88/122] Compiling Compute Fastly.swift
[89/122] 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 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
[90/122] 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 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
[91/122] 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
[92/122] 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
[93/122] 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
[94/122] Compiling Compute Headers.swift
[95/122] Compiling Compute IncomingRequest.swift
[96/122] Compiling Compute JWT.swift
[97/122] Compiling Compute JWTClaim.swift
[98/122] Compiling Compute JWTError.swift
[99/122] Compiling Compute FastlyGeoLocation.swift
[100/122] Compiling Compute FastlyLogger.swift
[101/122] Compiling Compute FastlyObjectStore.swift
[102/122] Compiling Compute FastlyPendingRequest.swift
[103/122] Compiling Compute FastlyRequest.swift
[104/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 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 | }
[105/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 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 | }
[106/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 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 | }
[107/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 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 | }
[108/122] Emitting module Compute
[109/122] Compiling Compute ReadableBody.swift
[110/122] Compiling Compute Parameters.swift
[111/122] Compiling Compute PathComponent.swift
[112/122] Compiling Compute Routable.swift
[113/122] Compiling Compute Fetch+URLSession.swift
[114/122] Compiling Compute Fetch+Wasi.swift
[115/122] Compiling Compute Fetch.swift
[116/122] Compiling Compute FetchRequest.swift
[117/122] Compiling Compute FetchResponse.swift
[118/122] Compiling Compute FastlyResponse.swift
[119/122] Compiling Compute FastlySecretStore.swift
[120/122] Compiling Compute FastlyStubs.swift
[121/122] Compiling Compute FastlyTypes.swift
[122/122] Compiling Compute FastlyUtils.swift
BUILD FAILURE 6.0 macosSpm