The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WasmInterpreter, reference v0.8.1 (3a6963), with Swift 6.0 for macOS (SPM) on 14 May 2025 13:13:44 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/wasm-interpreter-apple.git
Reference: v0.8.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shareup/wasm-interpreter-apple
 * tag               v0.8.1     -> FETCH_HEAD
HEAD is now at 3a69633 Update .swiftformat
Cloned https://github.com/shareup/wasm-interpreter-apple.git
Revision (git rev-parse @):
3a69633a5a8d8d2ede5cfd1c4e45af7d542b4f09
SUCCESS checkout https://github.com/shareup/wasm-interpreter-apple.git at v0.8.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shareup/wasm-interpreter-apple.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Copying CWasm3.framework
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/8] Emitting module Synchronized
[6/8] Compiling Synchronized RecursiveLock.swift
[7/8] Compiling Synchronized Lock.swift
[8/8] Compiling Synchronized Locked.swift
[9/19] Compiling WasmInterpreter WasmInterpreter+ImportHandler.swift
[10/19] Compiling WasmInterpreter WasmInterpreter+Call.swift
[11/19] Compiling WasmInterpreter NativeFunctionSignature.swift
[12/19] Compiling WasmInterpreter String+WasmInterpreter.swift
[13/19] Compiling WasmInterpreter WasmInterpreterError.swift
[14/19] Compiling WasmInterpreter Heap.swift
[15/19] Compiling WasmInterpreter ImportedFunctionCache.swift
[16/19] Emitting module WasmInterpreter
[17/19] Compiling WasmInterpreter WasmInterpreter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WasmInterpreter/WasmInterpreter.swift:125:31: warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
123 |         var values = values
124 |         try writeToHeap(
125 |             data: Data(bytes: &values, count: values.count * MemoryLayout<T>.size),
    |                               `- warning: forming 'UnsafeRawPointer' to a variable of type '[T]'; this is likely incorrect because 'T' may contain an object reference.
126 |             byteOffset: byteOffset
127 |         )
[18/19] Compiling WasmInterpreter String+WasmTypeProtocol.swift
[19/19] Compiling WasmInterpreter NativeFunction.swift
[20/20] Compiling WasmInterpreter WasmType.swift
Build complete! (9.87s)
Fetching https://github.com/shareup/synchronized.git
[1/205] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.64s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (0.58s)
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
[16375/2666786] Downloading https://github.com/shareup/cwasm3/releases/download/v0.5.2/CWasm3-0.5.0.xcframework.zip
Downloading binary artifact https://github.com/shareup/cwasm3/releases/download/v0.5.2/CWasm3-0.5.0.xcframework.zip
Downloaded https://github.com/shareup/cwasm3/releases/download/v0.5.2/CWasm3-0.5.0.xcframework.zip (1.16s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "synchronized",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/synchronized.git"
    }
  ],
  "manifest_display_name" : "WasmInterpreter",
  "name" : "WasmInterpreter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "WasmInterpreter",
      "targets" : [
        "WasmInterpreter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WasmInterpreterTests",
      "module_type" : "SwiftTarget",
      "name" : "WasmInterpreterTests",
      "path" : "Tests/WasmInterpreterTests",
      "sources" : [
        "String+WasmTypeProtocolTests.swift",
        "Wasm Modules/AddModule.swift",
        "Wasm Modules/ConstantModule.swift",
        "Wasm Modules/FibonacciModule.swift",
        "Wasm Modules/ImportedAddModule.swift",
        "Wasm Modules/MemoryModule.swift",
        "WasmInterpreterTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WasmInterpreter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WasmInterpreter",
      "module_type" : "SwiftTarget",
      "name" : "WasmInterpreter",
      "path" : "Sources/WasmInterpreter",
      "product_dependencies" : [
        "Synchronized"
      ],
      "product_memberships" : [
        "WasmInterpreter"
      ],
      "sources" : [
        "Heap.swift",
        "ImportedFunctionCache.swift",
        "NativeFunction.swift",
        "NativeFunctionSignature.swift",
        "String+WasmInterpreter.swift",
        "String+WasmTypeProtocol.swift",
        "WasmInterpreter+Call.swift",
        "WasmInterpreter+ImportHandler.swift",
        "WasmInterpreter.swift",
        "WasmInterpreterError.swift",
        "WasmType.swift"
      ],
      "target_dependencies" : [
        "CWasm3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CWasm3",
      "module_type" : "BinaryTarget",
      "name" : "CWasm3",
      "path" : "remote/archive/CWasm3-0.5.0.xcframework.zip",
      "product_memberships" : [
        "WasmInterpreter"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.7"
}
Done.