The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MongoDB, reference main (beaee9), with Swift 6.0 for tvOS using Xcode 16.2 on 29 Nov 2024 07:19:24 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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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
{
  "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"
}
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-crypto’
Checking out 3.10.0 of package ‘swift-crypto’
Creating working copy of package ‘swift-asn1’
Checking out 1.3.0 of package ‘swift-asn1’
Resolve Package Graph
Resolved source packages:
  Compute: https://github.com/swift-cloud/Compute @ 2.19.0
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.3.0
  MongoDB: /Users/admin/builder/spi-builder-workspace
  swift-crypto: https://github.com/apple/swift-crypto @ 3.10.0
resolved source packages: Compute, swift-asn1, MongoDB, 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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
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.10.0
  Compute: https://github.com/swift-cloud/Compute @ 2.19.0
  swift-asn1: https://github.com/apple/swift-asn1.git @ 1.3.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: 3d15facad3ddf29e114e3bbe8cf8b3f6
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3d15facad3ddf29e114e3bbe8cf8b3f6.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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
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 -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  swift-crypto: https://github.com/apple/swift-crypto @ 3.10.0
  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
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