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

Failed to build Attabench, reference v2.0.0 (df85ad), with Swift 6.1 for Wasm on 28 May 2025 01:00:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/attaswift/Attabench.git
Reference: v2.0.0
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/attaswift/Attabench
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at df85adb Bump version number of Attabench.app to 2.0.0.
Submodule path 'Benchmarking': checked out '125109f8aa22c54047ae7f7e6f0b98839a572373'
Submodule 'Benchmarking' (https://github.com/attaswift/Benchmarking.git) registered for path 'Benchmarking'
Cloning into '/host/spi-builder-workspace/Benchmarking'...
Cloned https://github.com/attaswift/Attabench.git
Revision (git rev-parse @):
df85adb72b1539aaf838dabefb7ceb8efd73e0dd
SUCCESS checkout https://github.com/attaswift/Attabench.git at v2.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/attaswift/Attabench.git
https://github.com/attaswift/Attabench.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "benchmarking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/Benchmarking"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt"
    },
    {
      "identity" : "siphash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/SipHash"
    },
    {
      "identity" : "gluekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/GlueKit"
    },
    {
      "identity" : "optionparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/OptionParser"
    }
  ],
  "manifest_display_name" : "Attabench",
  "name" : "Attabench",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BenchmarkModel",
      "targets" : [
        "BenchmarkModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BenchmarkRunner",
      "targets" : [
        "BenchmarkRunner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BenchmarkCharts",
      "targets" : [
        "BenchmarkCharts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "attachart",
      "targets" : [
        "attachart"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "attachart",
      "module_type" : "SwiftTarget",
      "name" : "attachart",
      "path" : "attachart",
      "product_dependencies" : [
        "Benchmarking",
        "OptionParser"
      ],
      "product_memberships" : [
        "attachart"
      ],
      "sources" : [
        "Options.swift",
        "Render.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "BenchmarkModel",
        "BenchmarkCharts"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkRunner",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkRunner",
      "path" : "BenchmarkRunner",
      "product_dependencies" : [
        "Benchmarking"
      ],
      "product_memberships" : [
        "BenchmarkRunner"
      ],
      "sources" : [
        "BenchmarkProcess.swift",
        "CommandLineProcess.swift",
        "Dispatch Extensions.swift",
        "FileManager Extensions.swift",
        "Tools.swift"
      ],
      "target_dependencies" : [
        "BenchmarkModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BenchmarkModel",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkModel",
      "path" : "BenchmarkModel",
      "product_dependencies" : [
        "BigInt",
        "GlueKit"
      ],
      "product_memberships" : [
        "BenchmarkModel",
        "BenchmarkRunner",
        "BenchmarkCharts",
        "attachart"
      ],
      "sources" : [
        "Attaresult.swift",
        "Bounds.swift",
        "ClosedRangeVariable.swift",
        "Task.swift",
        "Time.swift",
        "TimeSample.swift",
        "Timestamp.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BenchmarkCharts",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkCharts",
      "path" : "BenchmarkCharts",
      "product_memberships" : [
        "BenchmarkCharts",
        "attachart"
      ],
      "sources" : [
        "BenchmarkChart.swift",
        "BenchmarkRenderer.swift",
        "BenchmarkTheme.swift",
        "ChartScales.swift",
        "Extensions.swift",
        "Gridline.swift",
        "LineParams.swift",
        "NSImage Export.swift",
        "Size Labels.swift",
        "TextParams.swift"
      ],
      "target_dependencies" : [
        "BenchmarkModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/attaswift/OptionParser
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/attaswift/Benchmarking
Fetching https://github.com/attaswift/GlueKit
Fetching https://github.com/attaswift/SipHash
[1/4016] Fetching gluekit
[524/4081] Fetching gluekit, benchmarking
[870/8857] Fetching gluekit, benchmarking, bigint
[871/9297] Fetching gluekit, benchmarking, bigint, siphash
[1873/9379] Fetching gluekit, benchmarking, bigint, siphash, optionparser
Fetched https://github.com/attaswift/SipHash from cache (0.35s)
[5728/8939] Fetching gluekit, benchmarking, bigint, optionparser
Fetched https://github.com/attaswift/GlueKit from cache (1.48s)
Fetched https://github.com/attaswift/OptionParser from cache (1.62s)
Fetched https://github.com/attaswift/Benchmarking from cache (1.62s)
Fetched https://github.com/attaswift/BigInt from cache (1.63s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (2.33s)
Computing version for https://github.com/attaswift/GlueKit
Computed https://github.com/attaswift/GlueKit at 0.2.0 (0.98s)
Fetching https://github.com/attaswift/BTree
[1/3349] Fetching btree
Fetched https://github.com/attaswift/BTree from cache (0.37s)
Computing version for https://github.com/attaswift/Benchmarking
Computed https://github.com/attaswift/Benchmarking at 1.0.0 (1.06s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.59s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.62s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.1.0 (0.61s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 3.1.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/attaswift/GlueKit
Working copy of https://github.com/attaswift/GlueKit resolved at 0.2.0
Creating working copy for https://github.com/attaswift/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at 1.0.0
Creating working copy for https://github.com/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Creating working copy for https://github.com/attaswift/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
Building for debugging...
[0/32] Write sources
[11/32] Write swift-version-24593BA9C3E375BF.txt
[13/63] Compiling BTree BTreeIndex.swift
[14/63] Compiling BTree BTreeIterator.swift
[15/65] Emitting module SipHash
[16/65] Compiling SipHash SipHasher.swift
[17/65] Compiling SipHash RandomUInt64.swift
[18/65] Compiling SipHash Primitive Types.swift
[19/65] Compiling SipHash SipHashable.swift
[20/66] Compiling OptionParser OptionParser.swift
[21/67] Compiling BTree BTreeComparisons.swift
[22/67] Compiling BTree BTreeCursor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/67] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[25/67] Compiling BTree BTree.swift
[26/67] Compiling BTree BTreeBuilder.swift
[26/67] Wrapping AST for SipHash for debugging
[27/67] Write Objects.LinkFileList
[29/67] Compiling BTree Compatibility.swift
[30/67] Compiling BTree List.swift
[31/67] Compiling BTree Map.swift
[32/67] Compiling BTree SortedBag.swift
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[32/67] Linking libSipHash.wasm
[33/67] Emitting module BenchmarkIPC
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/37] Compiling SipHash Primitive Types.swift
[3/52] Compiling SipHash SipHasher.swift
[4/52] Compiling SipHash SipHashable.swift
[5/52] Compiling SipHash RandomUInt64.swift
[6/52] Emitting module SipHash
[8/53] Compiling BTree BTreeIndex.swift
[9/53] Compiling BTree BTreeIterator.swift
[9/54] Write Objects.LinkFileList
[11/54] Compiling BTree Compatibility.swift
[12/54] Compiling BTree List.swift
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[12/54] Linking libSipHash.wasm
[13/54] Emitting module BenchmarkIPC
BUILD FAILURE 6.1 wasm