The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NKeys, reference main (88a177), with Swift 6.0 for visionOS using Xcode 16.2 on 16 Jul 2025 09:21:28 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKeys -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nats-io/nkeys.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nats-io/nkeys.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 88a1778 Remove unused CryptoKit dependency
Cloned https://github.com/nats-io/nkeys.swift.git
Revision (git rev-parse @):
88a1778b06b5631506ca90ebb593df0431c8a9f3
SUCCESS checkout https://github.com/nats-io/nkeys.swift.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nats-io/nkeys.swift.git
Command line invocation:
    /Applications/Xcode-16.2.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/jedisct1/swift-sodium.git
Fetching from https://github.com/Jarema/Base32
Fetching from https://github.com/apple/swift-format.git
Fetching from https://github.com/apple/swift-syntax
Fetching from https://github.com/apple/swift-argument-parser.git
Fetching from https://github.com/apple/swift-tools-support-core.git
Fetching from https://github.com/apple/swift-system.git
Creating working copy of package ‘swift-argument-parser’
Checking out 1.1.4 of package ‘swift-argument-parser’
Creating working copy of package ‘Base32’
Checking out 0.10.2 of package ‘Base32’
Creating working copy of package ‘swift-sodium’
Checking out 0.9.1 of package ‘swift-sodium’
Creating working copy of package ‘swift-syntax’
Checking out 0.50700.1 of package ‘swift-syntax’
Creating working copy of package ‘swift-format’
Checking out 0.50700.1 of package ‘swift-format’
Creating working copy of package ‘swift-system’
Checking out 1.1.1 of package ‘swift-system’
Creating working copy of package ‘swift-tools-support-core’
Checking out 0.2.7 of package ‘swift-tools-support-core’
Resolve Package Graph
Resolved source packages:
  Base32: https://github.com/Jarema/Base32 @ 0.10.2
  Sodium: https://github.com/jedisct1/swift-sodium.git @ 0.9.1
  NKeys: /Users/admin/builder/spi-builder-workspace
  SwiftSyntax: https://github.com/apple/swift-syntax @ 0.50700.1
  swift-tools-support-core: https://github.com/apple/swift-tools-support-core.git @ 0.2.7
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.1.4
  swift-format: https://github.com/apple/swift-format.git @ 0.50700.1
  swift-system: https://github.com/apple/swift-system.git @ 1.1.1
resolved source packages: Base32, Sodium, NKeys, SwiftSyntax, swift-tools-support-core, swift-argument-parser, swift-format, swift-system
{
  "dependencies" : [
    {
      "identity" : "base32",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Jarema/Base32"
    },
    {
      "identity" : "swift-sodium",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jedisct1/swift-sodium.git"
    },
    {
      "identity" : "swift-format",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.509.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format.git"
    }
  ],
  "manifest_display_name" : "NKeys",
  "name" : "NKeys",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NKeys",
      "targets" : [
        "NKeys"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NKeys_Tests",
      "module_type" : "SwiftTarget",
      "name" : "NKeys.Tests",
      "path" : "Tests/NKeys.Tests",
      "sources" : [
        "nkeys_swiftTests.swift"
      ],
      "target_dependencies" : [
        "NKeys"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NKeys",
      "module_type" : "SwiftTarget",
      "name" : "NKeys",
      "path" : "Sources/NKeys",
      "product_dependencies" : [
        "Base32",
        "Sodium"
      ],
      "product_memberships" : [
        "NKeys"
      ],
      "sources" : [
        "crc.swift",
        "nkeys.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NKeys"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKeys -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-16.2.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 NKeys -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Base32: https://github.com/Jarema/Base32 @ 0.10.2
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.1.4
  SwiftSyntax: https://github.com/apple/swift-syntax @ 0.50700.1
  swift-format: https://github.com/apple/swift-format.git @ 0.50700.1
  swift-system: https://github.com/apple/swift-system.git @ 1.1.1
  NKeys: /Users/admin/builder/spi-builder-workspace
  swift-tools-support-core: https://github.com/apple/swift-tools-support-core.git @ 0.2.7
  Sodium: https://github.com/jedisct1/swift-sodium.git @ 0.9.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
    Target 'Base32' in project 'Base32' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d5a179a9cceca2661e77819b3e5038d5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d5a179a9cceca2661e77819b3e5038d5.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'NKeys' from project 'NKeys')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme NKeys
(1 failure)
Command line invocation:
    /Applications/Xcode-16.2.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
Resolved source packages:
  Sodium: https://github.com/jedisct1/swift-sodium.git @ 0.9.1
  swift-system: https://github.com/apple/swift-system.git @ 1.1.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.1.4
  SwiftSyntax: https://github.com/apple/swift-syntax @ 0.50700.1
  Base32: https://github.com/Jarema/Base32 @ 0.10.2
  swift-format: https://github.com/apple/swift-format.git @ 0.50700.1
  NKeys: /Users/admin/builder/spi-builder-workspace
  swift-tools-support-core: https://github.com/apple/swift-tools-support-core.git @ 0.2.7
resolved source packages: Sodium, swift-system, swift-argument-parser, SwiftSyntax, Base32, swift-format, NKeys, swift-tools-support-core
{
  "dependencies" : [
    {
      "identity" : "base32",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Jarema/Base32"
    },
    {
      "identity" : "swift-sodium",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jedisct1/swift-sodium.git"
    },
    {
      "identity" : "swift-format",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.509.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-format.git"
    }
  ],
  "manifest_display_name" : "NKeys",
  "name" : "NKeys",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NKeys",
      "targets" : [
        "NKeys"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NKeys_Tests",
      "module_type" : "SwiftTarget",
      "name" : "NKeys.Tests",
      "path" : "Tests/NKeys.Tests",
      "sources" : [
        "nkeys_swiftTests.swift"
      ],
      "target_dependencies" : [
        "NKeys"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NKeys",
      "module_type" : "SwiftTarget",
      "name" : "NKeys",
      "path" : "Sources/NKeys",
      "product_dependencies" : [
        "Base32",
        "Sodium"
      ],
      "product_memberships" : [
        "NKeys"
      ],
      "sources" : [
        "crc.swift",
        "nkeys.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NKeys"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NKeys -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-16.2.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 NKeys -destination generic/platform=xrOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  swift-format: https://github.com/apple/swift-format.git @ 0.50700.1
  SwiftSyntax: https://github.com/apple/swift-syntax @ 0.50700.1
  NKeys: /Users/admin/builder/spi-builder-workspace
  Sodium: https://github.com/jedisct1/swift-sodium.git @ 0.9.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.1.4
  swift-system: https://github.com/apple/swift-system.git @ 1.1.1
  Base32: https://github.com/Jarema/Base32 @ 0.10.2
  swift-tools-support-core: https://github.com/apple/swift-tools-support-core.git @ 0.2.7
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'NKeys' in project 'NKeys'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Base32' in project 'Base32'
        ➜ Explicit dependency on target 'Base32' in project 'Base32'
    Target 'Base32' in project 'Base32' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: d5a179a9cceca2661e77819b3e5038d5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d5a179a9cceca2661e77819b3e5038d5.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'NKeys' from project 'NKeys')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-sodium/Clibsodium.xcframework'. (in target 'Sodium' from project 'Sodium')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme NKeys
(1 failure)
BUILD FAILURE 6.0 visionOS