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 slox, reference master (6f9b47), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 04:06:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
Fetching https://github.com/antitypical/Result.git
[1/2533] Fetching result
Fetched https://github.com/antitypical/Result.git from cache (0.75s)
Computing version for https://github.com/antitypical/Result.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexito4/slox.git
https://github.com/alexito4/slox.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Updating https://github.com/antitypical/Result.git
Updated https://github.com/antitypical/Result.git (0.48s)
Computing version for https://github.com/antitypical/Result.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Updating https://github.com/antitypical/Result.git
Updated https://github.com/antitypical/Result.git (0.51s)
Computing version for https://github.com/antitypical/Result.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
BUILD FAILURE 6.1 macosSpm