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 SwiftEVM, reference v0.5.15 (5b1ab7), with Swift 6.1 for Wasm on 22 Jun 2025 19:58:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrLSD/swift-evm.git
Reference: v0.5.15
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/mrLSD/swift-evm
 * tag               v0.5.15    -> FETCH_HEAD
HEAD is now at 5b1ab73 Merge pull request #49 from mrLSD/feat/opcode-address
Cloned https://github.com/mrLSD/swift-evm.git
Revision (git rev-parse @):
5b1ab730998835fbeba3f1ae3853b781175da2c4
SUCCESS checkout https://github.com/mrLSD/swift-evm.git at v0.5.15
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mrLSD/swift-evm.git
https://github.com/mrLSD/swift-evm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "13.0.0",
            "upper_bound" : "14.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "SwiftEVM",
  "name" : "SwiftEVM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EVM",
      "targets" : [
        "Interpreter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrimitiveTypes",
      "targets" : [
        "PrimitiveTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrimitiveTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "PrimitiveTypesTests",
      "path" : "Tests/PrimitiveTypesTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ArithmeticTests/AddTests.swift",
        "ArithmeticTests/BitwiseTests.swift",
        "ArithmeticTests/DivRemTests.swift",
        "ArithmeticTests/FuzzDivTests.swift",
        "ArithmeticTests/MacTests.swift",
        "ArithmeticTests/MulTests.swift",
        "ArithmeticTests/ShiftTests.swift",
        "ArithmeticTests/SubTests.swift",
        "CustomBigUIntTests.swift",
        "H160Tests.swift",
        "H256Tests.swift",
        "I256Tests.swift",
        "U128Tests.swift",
        "U256Tests.swift",
        "U512Tests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "PrimitiveTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrimitiveTypes",
      "module_type" : "SwiftTarget",
      "name" : "PrimitiveTypes",
      "path" : "Sources/PrimitiveTypes",
      "product_memberships" : [
        "EVM",
        "PrimitiveTypes"
      ],
      "sources" : [
        "Arithmetic.swift",
        "Bifwise.swift",
        "BigUInt.swift",
        "DivModUtils.swift",
        "FixedArray.swift",
        "H160.swift",
        "H256.swift",
        "I256.swift",
        "U128.swift",
        "U256.swift",
        "U512.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InterpreterTests",
      "module_type" : "SwiftTarget",
      "name" : "InterpreterTests",
      "path" : "Tests/InterpreterTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ExecutionStateTests.swift",
        "ExecutorTests.swift",
        "GasTests.swift",
        "HardForkTests.swift",
        "InstructionsTests/Arithmetic/AddModTests.swift",
        "InstructionsTests/Arithmetic/AddTests.swift",
        "InstructionsTests/Arithmetic/DivTests.swift",
        "InstructionsTests/Arithmetic/ExpTests.swift",
        "InstructionsTests/Arithmetic/ModTests.swift",
        "InstructionsTests/Arithmetic/MulModTests.swift",
        "InstructionsTests/Arithmetic/MulTests.swift",
        "InstructionsTests/Arithmetic/SDivTests.swift",
        "InstructionsTests/Arithmetic/SModTests.swift",
        "InstructionsTests/Arithmetic/SignextendTests.swift",
        "InstructionsTests/Arithmetic/SubTests.swift",
        "InstructionsTests/Bitwise/AndTests.swift",
        "InstructionsTests/Bitwise/ByteTests.swift",
        "InstructionsTests/Bitwise/EqTests.swift",
        "InstructionsTests/Bitwise/GtTests.swift",
        "InstructionsTests/Bitwise/IsZeroTests.swift",
        "InstructionsTests/Bitwise/LtTests.swift",
        "InstructionsTests/Bitwise/NotTests.swift",
        "InstructionsTests/Bitwise/OrTests.swift",
        "InstructionsTests/Bitwise/SarTests.swift",
        "InstructionsTests/Bitwise/SgtTests.swift",
        "InstructionsTests/Bitwise/ShlTests.swift",
        "InstructionsTests/Bitwise/ShrTests.swift",
        "InstructionsTests/Bitwise/SltTests.swift",
        "InstructionsTests/Bitwise/XorTests.swift",
        "InstructionsTests/Control/JumpITests.swift",
        "InstructionsTests/Control/JumpTests.swift",
        "InstructionsTests/Control/PcTests.swift",
        "InstructionsTests/Control/ReturnTests.swift",
        "InstructionsTests/Control/RevertTests.swift",
        "InstructionsTests/Control/StopTests.swift",
        "InstructionsTests/Host/AddressTests.swift",
        "InstructionsTests/Host/BalanceTests.swift",
        "InstructionsTests/Host/SelfbalanceTests.swift",
        "InstructionsTests/MemoryInstructions/MLoadTests.swift",
        "InstructionsTests/MemoryInstructions/MSizeTests.swift",
        "InstructionsTests/MemoryInstructions/MStore8Tests.swift",
        "InstructionsTests/MemoryInstructions/MStoreTests.swift",
        "InstructionsTests/NotExistTests.swift",
        "InstructionsTests/Stack/DupTests.swift",
        "InstructionsTests/Stack/PopTests.swift",
        "InstructionsTests/Stack/Push0Tests.swift",
        "InstructionsTests/Stack/PushTests.swift",
        "InstructionsTests/Stack/SwapTests.swift",
        "InstructionsTests/System/CallDataCopyTests.swift",
        "InstructionsTests/System/CallDataLoadTests.swift",
        "InstructionsTests/System/CallDataSizeTests.swift",
        "InstructionsTests/System/CodeCopyTests.swift",
        "InstructionsTests/System/CodeSizeTests.swift",
        "InstructionsTests/System/CodeValueTests.swift",
        "JumpTableTests.swift",
        "MachineStackTests.swift",
        "MachineTests.swift",
        "MachineTestsUtil.swift",
        "MemoryTests.swift",
        "OpcodeTests.swift",
        "RuntimeTests.swift"
      ],
      "target_dependencies" : [
        "Interpreter",
        "PrimitiveTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Interpreter",
      "module_type" : "SwiftTarget",
      "name" : "Interpreter",
      "path" : "Sources/Interpreter",
      "product_memberships" : [
        "EVM"
      ],
      "sources" : [
        "ExecutionState.swift",
        "Executor.swift",
        "Gas.swift",
        "HardFork.swift",
        "Instructions/Arithmetic.swift",
        "Instructions/Bitwise.swift",
        "Instructions/Control.swift",
        "Instructions/Host.swift",
        "Instructions/MemoryInstructions.swift",
        "Instructions/Stack.swift",
        "Instructions/System.swift",
        "Interpreter.swift",
        "InterpreterHanlder.swift",
        "Machine.swift",
        "MachineStack.swift",
        "Memory.swift",
        "Opcodes.swift",
        "Runtime.swift",
        "Tracing/Trace.swift"
      ],
      "target_dependencies" : [
        "PrimitiveTypes"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14759] Fetching quick
[11366/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.24s)
Fetched https://github.com/Quick/Nimble.git from cache (1.26s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (1.76s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5959] Fetching swift-algorithms
[5960/21339] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (1.05s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.06s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.44s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.03s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.52s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.7.1 (0.51s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.70s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.34s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.88s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.7.1
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/19] Compiling PrimitiveTypes U256.swift
[10/20] Compiling PrimitiveTypes I256.swift
[11/20] Compiling PrimitiveTypes U128.swift
[12/20] Compiling PrimitiveTypes U512.swift
[13/20] Compiling PrimitiveTypes FixedArray.swift
[14/20] Compiling PrimitiveTypes H160.swift
[15/20] Compiling PrimitiveTypes H256.swift
[16/20] Emitting module PrimitiveTypes
[17/20] Compiling PrimitiveTypes BigUInt.swift
[18/20] Compiling PrimitiveTypes DivModUtils.swift
[19/20] Compiling PrimitiveTypes Arithmetic.swift
[20/20] Compiling PrimitiveTypes Bifwise.swift
[22/39] Emitting module Interpreter
[23/41] Compiling Interpreter Control.swift
[24/41] Compiling Interpreter Host.swift
[25/41] Compiling Interpreter MemoryInstructions.swift
[26/41] Compiling Interpreter Memory.swift
[27/41] Compiling Interpreter Opcodes.swift
[28/41] Compiling Interpreter Runtime.swift
[29/41] Compiling Interpreter Trace.swift
[30/41] Compiling Interpreter Stack.swift
[31/41] Compiling Interpreter System.swift
[32/41] Compiling Interpreter ExecutionState.swift
[33/41] Compiling Interpreter Executor.swift
[34/41] Compiling Interpreter Gas.swift
[35/41] Compiling Interpreter HardFork.swift
[36/41] Compiling Interpreter Arithmetic.swift
[37/41] Compiling Interpreter Bitwise.swift
[38/41] Compiling Interpreter Interpreter.swift
[39/41] Compiling Interpreter InterpreterHanlder.swift
[40/41] Compiling Interpreter Machine.swift
[41/41] Compiling Interpreter MachineStack.swift
Build complete! (33.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "13.0.0",
            "upper_bound" : "14.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "SwiftEVM",
  "name" : "SwiftEVM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EVM",
      "targets" : [
        "Interpreter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrimitiveTypes",
      "targets" : [
        "PrimitiveTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrimitiveTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "PrimitiveTypesTests",
      "path" : "Tests/PrimitiveTypesTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ArithmeticTests/AddTests.swift",
        "ArithmeticTests/BitwiseTests.swift",
        "ArithmeticTests/DivRemTests.swift",
        "ArithmeticTests/FuzzDivTests.swift",
        "ArithmeticTests/MacTests.swift",
        "ArithmeticTests/MulTests.swift",
        "ArithmeticTests/ShiftTests.swift",
        "ArithmeticTests/SubTests.swift",
        "CustomBigUIntTests.swift",
        "H160Tests.swift",
        "H256Tests.swift",
        "I256Tests.swift",
        "U128Tests.swift",
        "U256Tests.swift",
        "U512Tests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "PrimitiveTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrimitiveTypes",
      "module_type" : "SwiftTarget",
      "name" : "PrimitiveTypes",
      "path" : "Sources/PrimitiveTypes",
      "product_memberships" : [
        "EVM",
        "PrimitiveTypes"
      ],
      "sources" : [
        "Arithmetic.swift",
        "Bifwise.swift",
        "BigUInt.swift",
        "DivModUtils.swift",
        "FixedArray.swift",
        "H160.swift",
        "H256.swift",
        "I256.swift",
        "U128.swift",
        "U256.swift",
        "U512.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InterpreterTests",
      "module_type" : "SwiftTarget",
      "name" : "InterpreterTests",
      "path" : "Tests/InterpreterTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ExecutionStateTests.swift",
        "ExecutorTests.swift",
        "GasTests.swift",
        "HardForkTests.swift",
        "InstructionsTests/Arithmetic/AddModTests.swift",
        "InstructionsTests/Arithmetic/AddTests.swift",
        "InstructionsTests/Arithmetic/DivTests.swift",
        "InstructionsTests/Arithmetic/ExpTests.swift",
        "InstructionsTests/Arithmetic/ModTests.swift",
        "InstructionsTests/Arithmetic/MulModTests.swift",
        "InstructionsTests/Arithmetic/MulTests.swift",
        "InstructionsTests/Arithmetic/SDivTests.swift",
        "InstructionsTests/Arithmetic/SModTests.swift",
        "InstructionsTests/Arithmetic/SignextendTests.swift",
        "InstructionsTests/Arithmetic/SubTests.swift",
        "InstructionsTests/Bitwise/AndTests.swift",
        "InstructionsTests/Bitwise/ByteTests.swift",
        "InstructionsTests/Bitwise/EqTests.swift",
        "InstructionsTests/Bitwise/GtTests.swift",
        "InstructionsTests/Bitwise/IsZeroTests.swift",
        "InstructionsTests/Bitwise/LtTests.swift",
        "InstructionsTests/Bitwise/NotTests.swift",
        "InstructionsTests/Bitwise/OrTests.swift",
        "InstructionsTests/Bitwise/SarTests.swift",
        "InstructionsTests/Bitwise/SgtTests.swift",
        "InstructionsTests/Bitwise/ShlTests.swift",
        "InstructionsTests/Bitwise/ShrTests.swift",
        "InstructionsTests/Bitwise/SltTests.swift",
        "InstructionsTests/Bitwise/XorTests.swift",
        "InstructionsTests/Control/JumpITests.swift",
        "InstructionsTests/Control/JumpTests.swift",
        "InstructionsTests/Control/PcTests.swift",
        "InstructionsTests/Control/ReturnTests.swift",
        "InstructionsTests/Control/RevertTests.swift",
        "InstructionsTests/Control/StopTests.swift",
        "InstructionsTests/Host/AddressTests.swift",
        "InstructionsTests/Host/BalanceTests.swift",
        "InstructionsTests/Host/SelfbalanceTests.swift",
        "InstructionsTests/MemoryInstructions/MLoadTests.swift",
        "InstructionsTests/MemoryInstructions/MSizeTests.swift",
        "InstructionsTests/MemoryInstructions/MStore8Tests.swift",
        "InstructionsTests/MemoryInstructions/MStoreTests.swift",
        "InstructionsTests/NotExistTests.swift",
        "InstructionsTests/Stack/DupTests.swift",
        "InstructionsTests/Stack/PopTests.swift",
        "InstructionsTests/Stack/Push0Tests.swift",
        "InstructionsTests/Stack/PushTests.swift",
        "InstructionsTests/Stack/SwapTests.swift",
        "InstructionsTests/System/CallDataCopyTests.swift",
        "InstructionsTests/System/CallDataLoadTests.swift",
        "InstructionsTests/System/CallDataSizeTests.swift",
        "InstructionsTests/System/CodeCopyTests.swift",
        "InstructionsTests/System/CodeSizeTests.swift",
        "InstructionsTests/System/CodeValueTests.swift",
        "JumpTableTests.swift",
        "MachineStackTests.swift",
        "MachineTests.swift",
        "MachineTestsUtil.swift",
        "MemoryTests.swift",
        "OpcodeTests.swift",
        "RuntimeTests.swift"
      ],
      "target_dependencies" : [
        "Interpreter",
        "PrimitiveTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Interpreter",
      "module_type" : "SwiftTarget",
      "name" : "Interpreter",
      "path" : "Sources/Interpreter",
      "product_memberships" : [
        "EVM"
      ],
      "sources" : [
        "ExecutionState.swift",
        "Executor.swift",
        "Gas.swift",
        "HardFork.swift",
        "Instructions/Arithmetic.swift",
        "Instructions/Bitwise.swift",
        "Instructions/Control.swift",
        "Instructions/Host.swift",
        "Instructions/MemoryInstructions.swift",
        "Instructions/Stack.swift",
        "Instructions/System.swift",
        "Interpreter.swift",
        "InterpreterHanlder.swift",
        "Machine.swift",
        "MachineStack.swift",
        "Memory.swift",
        "Opcodes.swift",
        "Runtime.swift",
        "Tracing/Trace.swift"
      ],
      "target_dependencies" : [
        "PrimitiveTypes"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.