Build Information
Failed to build slox with Swift 6.0 for visionOS using Xcode 16.0.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/slox.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexito4/slox
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6f9b479 update readme
Cloned https://github.com/alexito4/slox.git
Revision (git rev-parse @):
6f9b47958fcf064a4bcde3f6cf7ffb7664a13bf6
SUCCESS checkout https://github.com/alexito4/slox.git at master
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/alexito4/slox.git
Command line invocation:
/Applications/Xcode-15.3.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
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = org.swift.600202405261a
resolved source packages:
{
"dependencies" : [
{
"identity" : "result",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/antitypical/Result.git"
}
],
"manifest_display_name" : "slox",
"name" : "slox",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "slox",
"targets" : [
"slox"
],
"type" : {
"executable" : null
}
},
{
"name" : "GenerateAst",
"targets" : [
"GenerateAst"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "slox",
"module_type" : "SwiftTarget",
"name" : "slox",
"path" : "Sources/slox",
"product_memberships" : [
"slox"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LoxCore"
],
"type" : "executable"
},
{
"c99name" : "LoxCore",
"module_type" : "SwiftTarget",
"name" : "LoxCore",
"path" : "Sources/LoxCore",
"product_dependencies" : [
"Result"
],
"product_memberships" : [
"slox"
],
"sources" : [
"AstPrinter.swift",
"Debug.swift",
"Environment.swift",
"Expr.swift",
"Lox.swift",
"Parser.swift",
"Resolver.swift",
"Runtime/Interpreter.swift",
"Runtime/LoxCallable.swift",
"Runtime/LoxClass.swift",
"Runtime/LoxInstance.swift",
"Scanner.swift",
"Stmt.swift",
"Token.swift"
],
"type" : "library"
},
{
"c99name" : "GenerateAst",
"module_type" : "SwiftTarget",
"name" : "GenerateAst",
"path" : "Sources/GenerateAst",
"product_memberships" : [
"GenerateAst"
],
"sources" : [
"Printer.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
{
"project" : {
"configurations" : [
"Debug",
"Release"
],
"name" : "slox",
"schemes" : [
"GenerateAst",
"ResultPackageDescription",
"slox",
"slox",
"slox-Package",
"sloxPackageDescription"
],
"targets" : [
"sloxPackageDescription",
"ResultPackageDescription",
"GenerateAst",
"slox",
"LoxCore",
"Result"
]
}
}
2024-06-01 06:06:34.057 xcodebuild[682:3846] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2024-01-06_06-06-0034.xcresult
xcodebuild: error: Could not resolve package dependencies:
package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 5.10' to specify the current tools version
GENERIC FAILURE 6.0 visionOS