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 wren-swift, reference 0.1.0 (8c5fab), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 00:29:13 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/helje5/wren-swift.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/wren-swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 8c5fab5 Merge branch 'develop' into main
Cloned https://github.com/helje5/wren-swift.git
Revision (git rev-parse @):
8c5fab5bca54d28e920ac7bec79fe1a901b20758
SUCCESS checkout https://github.com/helje5/wren-swift.git at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "wren-swift",
      "name": "wren-swift",
      "url": "https://github.com/helje5/wren-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/wren-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/helje5/wren-swift.git
[1/101] Fetching wren-swift
Fetched https://github.com/helje5/wren-swift.git from cache (0.74s)
Creating working copy for https://github.com/helje5/wren-swift.git
Working copy of https://github.com/helje5/wren-swift.git resolved at 0.1.0 (8c5fab5)
warning: '.resolve-product-dependencies': dependency 'wren-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/helje5/wren-swift.git
https://github.com/helje5/wren-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "wren-swift",
  "name" : "wren-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CWren",
      "targets" : [
        "CWren"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Wren",
      "targets" : [
        "Wren"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrenTests",
      "module_type" : "SwiftTarget",
      "name" : "WrenTests",
      "path" : "Tests/WrenTests",
      "sources" : [
        "DynamicWrenTests.swift",
        "WrenTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Wren"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Wren",
      "module_type" : "SwiftTarget",
      "name" : "Wren",
      "path" : "Sources/Wren",
      "product_memberships" : [
        "Wren"
      ],
      "sources" : [
        "Callbacks.swift",
        "Configuration.swift",
        "Dynamic.swift",
        "Error.swift",
        "Foreign.swift",
        "Handle.swift",
        "Slots.swift",
        "ValueConvertible.swift",
        "Values.swift",
        "WrenVM.swift"
      ],
      "target_dependencies" : [
        "CWren"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CWrenTests",
      "module_type" : "SwiftTarget",
      "name" : "CWrenTests",
      "path" : "Tests/CWrenTests",
      "sources" : [
        "CWrenTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CWren"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CWren",
      "module_type" : "ClangTarget",
      "name" : "CWren",
      "path" : "Sources/CWren",
      "product_memberships" : [
        "CWren",
        "Wren"
      ],
      "sources" : [
        "wren.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling CWren wren.c
[4/13] Compiling Wren Values.swift
[5/14] Emitting module Wren
/Users/admin/builder/spi-builder-workspace/Sources/Wren/Error.swift:19:16: warning: stored property 'type' of 'Sendable'-conforming struct 'WrenError' has non-sendable type 'WrenVM.WrenError.WrenErrorType'; this is an error in the Swift 6 language mode
13 |   struct WrenError: Swift.Error, Equatable {
14 |
15 |     public enum WrenErrorType: String, Equatable {
   |                 `- note: consider making enum 'WrenErrorType' conform to the 'Sendable' protocol
16 |       case compile, runtime, stacktrace, unknown
17 |     }
18 |
19 |     public let type    : WrenErrorType
   |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'WrenError' has non-sendable type 'WrenVM.WrenError.WrenErrorType'; this is an error in the Swift 6 language mode
20 |     public let module  : String
21 |     public let line    : Int
[6/14] Compiling Wren ValueConvertible.swift
[7/14] Compiling Wren Dynamic.swift
[8/14] Compiling Wren Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wren/Error.swift:19:16: warning: stored property 'type' of 'Sendable'-conforming struct 'WrenError' has non-sendable type 'WrenVM.WrenError.WrenErrorType'; this is an error in the Swift 6 language mode
13 |   struct WrenError: Swift.Error, Equatable {
14 |
15 |     public enum WrenErrorType: String, Equatable {
   |                 `- note: consider making enum 'WrenErrorType' conform to the 'Sendable' protocol
16 |       case compile, runtime, stacktrace, unknown
17 |     }
18 |
19 |     public let type    : WrenErrorType
   |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'WrenError' has non-sendable type 'WrenVM.WrenError.WrenErrorType'; this is an error in the Swift 6 language mode
20 |     public let module  : String
21 |     public let line    : Int
[9/14] Compiling Wren Foreign.swift
[10/14] Compiling Wren Configuration.swift
[11/14] Compiling Wren Handle.swift
[12/14] Compiling Wren Slots.swift
[13/14] Compiling Wren Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wren/Callbacks.swift:27:15: error: cannot find 'strlen' in scope
25 |   let data : Data = {
26 |     guard let text = text else { return Data() }
27 |     let len = strlen(text) // yes, this one is 0-terminated
   |               `- error: cannot find 'strlen' in scope
28 |     let bp  = UnsafeBufferPointer(start: text, count: len)
29 |     return Data(buffer: bp)
[14/14] Compiling Wren WrenVM.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling Wren Handle.swift
[3/11] Compiling Wren Values.swift
[4/12] Compiling Wren ValueConvertible.swift
[5/12] Compiling Wren Slots.swift
[6/12] Compiling Wren Foreign.swift
[7/12] Compiling Wren Error.swift
[8/12] Compiling Wren Dynamic.swift
[9/12] Emitting module Wren
[10/12] Compiling Wren Callbacks.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wren/Callbacks.swift:27:15: error: cannot find 'strlen' in scope
25 |   let data : Data = {
26 |     guard let text = text else { return Data() }
27 |     let len = strlen(text) // yes, this one is 0-terminated
   |               `- error: cannot find 'strlen' in scope
28 |     let bp  = UnsafeBufferPointer(start: text, count: len)
29 |     return Data(buffer: bp)
[11/12] Compiling Wren Configuration.swift
[12/12] Compiling Wren WrenVM.swift
BUILD FAILURE 6.1 macosSpm