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 master (fef4b6), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 02:09:57 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mongodb
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fef4b60 Update README.md
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
fef4b6006491c04e89128f20200b78e12f33de9b
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at master
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
[1/22] Fetching perfect-cbson
[23/53] Fetching perfect-cbson, perfect-cmongo
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.65s)
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.65s)
[1/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (2.92s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.67s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.65s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.67s)
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/PerfectSideRepos/Perfect-CBSON.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CBSON.git resolved at 0.0.5
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.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": "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 (1.12s)
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.51s)
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.51s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.57s)
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.03s)
Creating working copy for https://github.com/perfectlysoft/perfect-mongodb.git
Working copy of https://github.com/perfectlysoft/perfect-mongodb.git resolved at master (fef4b60)
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-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
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 PerfectServer.swift
[6/13] Compiling PerfectLib JSONConvertible.swift
[7/13] Compiling PerfectLib PerfectError.swift
[8/13] Compiling PerfectLib Dir.swift
[9/13] Compiling PerfectLib File.swift
[10/13] Compiling PerfectLib Bytes.swift
[11/13] Compiling PerfectLib Log.swift
[12/13] Emitting module PerfectLib
[13/13] Compiling PerfectLib Utilities.swift
[14/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 |
[15/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/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 |
[17/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 |
[18/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 |
[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 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 |
[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 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 |
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