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

Successful build of wren-swift, reference develop (3b47fa), with Swift 6.1 for Wasm on 28 May 2025 07:14:52 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/wren-swift.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/helje5/wren-swift
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 3b47faa Update README.md
Cloned https://github.com/helje5/wren-swift.git
Revision (git rev-parse @):
3b47faaaf46c95ba551113d9ef49f483081354b3
SUCCESS checkout https://github.com/helje5/wren-swift.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/helje5/wren-swift.git
https://github.com/helje5/wren-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "wren-swift",
  "name" : "wren-swift",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/CWren/wren.c:11851:22: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
 11851 |   RETURN_NUM((double)clock() / CLOCKS_PER_SEC);
       |                      ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
1 warning generated.
[2/3] Compiling CWren wren.c
[4/13] Compiling Wren Foreign.swift
[5/13] Compiling Wren Handle.swift
[6/14] Compiling Wren WrenVM.swift
[7/14] Compiling Wren ValueConvertible.swift
[8/14] Compiling Wren Dynamic.swift
/host/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 Error.swift
/host/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
[10/14] Compiling Wren Slots.swift
[11/14] Compiling Wren Values.swift
[12/14] Emitting module Wren
/host/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
[13/14] Compiling Wren Callbacks.swift
[14/14] Compiling Wren Configuration.swift
Build complete! (8.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "wren-swift",
  "name" : "wren-swift",
  "path" : "/host/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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.