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 PerfectMongoDB, reference 3.1.2 (5a1d27), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 02:10:02 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/perfectlysoft/perfect-mongodb.git
Reference: 3.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mongodb
 * tag               3.1.2      -> FETCH_HEAD
HEAD is now at 5a1d275 Compatibility with Swift 5
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
5a1d2755b8ee75d4b81cad462868ffa4d86b229d
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at 3.1.2
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/31] Fetching perfect-cmongo
[32/53] Fetching perfect-cmongo, perfect-cbson
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.58s)
[1/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (3.56s)
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (3.56s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.63s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.61s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.62s)
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CBSON.git resolved at 0.0.5
========================================
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": "perfect-mongodb",
      "name": "PerfectMongoDB",
      "url": "https://github.com/perfectlysoft/perfect-mongodb.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-mongodb",
      "dependencies": [
        {
          "identity": "perfect-cmongo",
          "name": "PerfectCMongo",
          "url": "https://github.com/PerfectSideRepos/Perfect-CMongo.git",
          "version": "0.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CMongo",
          "dependencies": [
            {
              "identity": "perfect-cbson",
              "name": "PerfectCBSON",
              "url": "https://github.com/PerfectSideRepos/Perfect-CBSON.git",
              "version": "0.0.5",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CBSON",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "perfect-cbson",
          "name": "PerfectCBSON",
          "url": "https://github.com/PerfectSideRepos/Perfect-CBSON.git",
          "version": "0.0.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CBSON",
          "dependencies": [
          ]
        },
        {
          "identity": "perfectlib",
          "name": "PerfectLib",
          "url": "https://github.com/PerfectlySoft/PerfectLib.git",
          "version": "3.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PerfectLib",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-mongodb.git
[1/1071] Fetching perfect-mongodb
Fetched https://github.com/perfectlysoft/perfect-mongodb.git from cache (0.99s)
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.49s)
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.49s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.49s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.02s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.02s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.02s)
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/perfectlysoft/perfect-mongodb.git
Working copy of https://github.com/perfectlysoft/perfect-mongodb.git resolved at 3.1.2 (5a1d275)
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CBSON.git resolved at 0.0.5
warning: 'perfect-cbson': ignoring declared target(s) 'PerfectCBSON' in the system package
warning: 'perfect-cmongo': ignoring declared target(s) 'PerfectCMongo' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-mongodb' is not used by any target
Found 3 product dependencies
  - PerfectCMongo
  - PerfectCBSON
  - PerfectLib
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling PerfectLib SysProcess.swift
[5/13] Compiling PerfectLib JSONConvertible.swift
[6/13] Compiling PerfectLib Dir.swift
[7/13] Compiling PerfectLib Bytes.swift
[8/13] Compiling PerfectLib PerfectServer.swift
[9/13] Compiling PerfectLib File.swift
[10/13] Compiling PerfectLib Log.swift
[11/13] Emitting module PerfectLib
[12/13] Compiling PerfectLib PerfectError.swift
[13/13] Compiling PerfectLib Utilities.swift
[14/22] Compiling PerfectMongoDB MongoJSONConvertables.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[15/22] Compiling PerfectMongoDB MongoCursor.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[16/22] Compiling PerfectMongoDB MongoDatabase.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[17/22] Compiling PerfectMongoDB MongoGridFS.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/22] Emitting module PerfectMongoDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[19/22] Compiling PerfectMongoDB BSON.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[20/22] Compiling PerfectMongoDB MongoConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[21/22] Compiling PerfectMongoDB MongoCollection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
[22/22] Compiling PerfectMongoDB MongoClient.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
  |          `- error: 'bson.h' file not found
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
 18 | //
 19 |
 20 | import PerfectCBSON
    |        `- error: could not build Objective-C module 'PerfectCBSON'
 21 | import Foundation
 22 |
warning: 'perfect-cbson': ignoring declared target(s) 'PerfectCBSON' in the system package
warning: 'perfect-cmongo': ignoring declared target(s) 'PerfectCMongo' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-cmongo' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-cbson' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmongoc-1.0 using your system-packager:
    brew install mongo-c-driver
warning: you may be able to install libbson-1.0 using your system-packager:
    brew install mongo-c-driver
BUILD FAILURE 6.0 macosSpm