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 MongoDB, reference main (beaee9), with Swift 6.0 for tvOS using Xcode 16.0 on 3 Nov 2024 00:07:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MongoDB -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -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
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swift-cloud/MongoDB.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/swift-cloud/Compute
Fetching from https://github.com/apple/swift-crypto
Fetching from https://github.com/apple/swift-asn1.git
Creating working copy of package ‘Compute’
Checking out 2.19.0 of package ‘Compute’
Creating working copy of package ‘swift-asn1’
Checking out 1.3.0 of package ‘swift-asn1’
Creating working copy of package ‘swift-crypto’
Checking out 3.9.0 of package ‘swift-crypto’
Resolve Package Graph
Resolved source packages:
  Compute: https://github.com/swift-cloud/Compute @ 2.19.0
  MongoDB: /Users/admin/builder/spi-builder-workspace
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.3.0
  swift-crypto: https://github.com/apple/swift-crypto @ 3.9.0
resolved source packages: Compute, MongoDB, swift-asn1, swift-crypto
{
  "dependencies" : [
    {
      "identity" : "compute",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-cloud/Compute"
    }
  ],
  "manifest_display_name" : "MongoDB",
  "name" : "MongoDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "driverkit",
      "version" : "22.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MongoDB",
      "targets" : [
        "MongoDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MongoDBTests",
      "module_type" : "SwiftTarget",
      "name" : "MongoDBTests",
      "path" : "Tests/MongoDBTests",
      "sources" : [
        "MongoDBTests.swift"
      ],
      "target_dependencies" : [
        "MongoDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MongoDB",
      "module_type" : "SwiftTarget",
      "name" : "MongoDB",
      "path" : "Sources/MongoDB",
      "product_dependencies" : [
        "Compute"
      ],
      "product_memberships" : [
        "MongoDB"
      ],
      "sources" : [
        "Actions.swift",
        "Actions/AggregateAction.swift",
        "Actions/DeleteManyAction.swift",
        "Actions/DeleteOneAction.swift",
        "Actions/FindAction.swift",
        "Actions/FindOneAction.swift",
        "Actions/InsertManyAction.swift",
        "Actions/InsertOneAction.swift",
        "Actions/ReplaceOneAction.swift",
        "Actions/UpdateManyAction.swift",
        "Actions/UpdateOneAction.swift",
        "AnyCodable/AnyCodable.swift",
        "AnyCodable/AnyDecodable.swift",
        "AnyCodable/AnyEncodable.swift",
        "Collection.swift",
        "MongoClient.swift",
        "Responses/DeleteResponse.swift",
        "Responses/DocumentResponse.swift",
        "Responses/DocumentsResponse.swift",
        "Responses/InsertManyResponse.swift",
        "Responses/InsertOneResponse.swift",
        "Responses/JSONResponse.swift",
        "Responses/UpdateResponse.swift",
        "Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "MongoDB"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MongoDB -destination generic/platform=tvOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MongoDB -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  MongoDB: /Users/admin/builder/spi-builder-workspace
  swift-crypto: https://github.com/apple/swift-crypto @ 3.9.0
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.3.0
  Compute: https://github.com/swift-cloud/Compute @ 2.19.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
    Target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
    Target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
    Target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
    Target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
    Target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
    Target 'swift-crypto_Crypto' in project 'swift-crypto' (no dependencies)
    Target 'ComputeRuntime' in project 'Compute' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 4bc0ab94a56637ac5f725e1be93abc89
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/4bc0ab94a56637ac5f725e1be93abc89.xcbuilddata
error: The package product 'Compute' requires minimum platform version 14.0 for the tvOS platform, but this target supports 13.0 (in target 'MongoDB' from project 'MongoDB')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme MongoDB
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MongoDB -destination generic/platform=tvOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.3.0
  swift-crypto: https://github.com/apple/swift-crypto @ 3.9.0
  Compute: https://github.com/swift-cloud/Compute @ 2.19.0
  MongoDB: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (8 targets)
    Target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
    Target 'MongoDB' in project 'MongoDB'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
    Target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
    Target 'Compute' in project 'Compute'
        ➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
    Target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
    Target 'Crypto' in project 'swift-crypto'
        ➜ Explicit dependency on target 'swift-crypto_Crypto' in project 'swift-crypto'
    Target 'swift-crypto_Crypto' in project 'swift-crypto' (no dependencies)
    Target 'ComputeRuntime' in project 'Compute' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'Compute' requires minimum platform version 14.0 for the tvOS platform, but this target supports 13.0 (in target 'MongoDB' from project 'MongoDB')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme MongoDB
(1 failure)
BUILD FAILURE 6.0 tvOS