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 Ranges, reference 3.2.2 (7e5507), with Swift 6.2 for Wasm on 3 Oct 2025 15:51:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yockow/swiftranges.git
Reference: 3.2.2
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/yockow/swiftranges
 * tag               3.2.2      -> FETCH_HEAD
HEAD is now at 7e5507b Merge pull request #33 from YOCKOW/development
Cloned https://github.com/yockow/swiftranges.git
Revision (git rev-parse @):
7e5507b44b74a11296967ff91c1713a3922a3e6b
SUCCESS checkout https://github.com/yockow/swiftranges.git at 3.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yockow/swiftranges.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/33] Compiling Ranges PartialRangeGreaterThan.swift
[4/33] Compiling Ranges PartialRangeThrough+GeneralizedRange.swift
[5/33] Compiling Ranges PartialRangeUpTo+GeneralizedRange.swift
[6/36] Compiling Ranges GeneralizedRange+Comparison.swift
[7/36] Compiling Ranges GeneralizedRange+Concatenation.swift
[8/36] Compiling Ranges GeneralizedRange+Intersection.swift
[9/36] Compiling Ranges GeneralizedRange+Overlaps.swift
[10/36] Compiling Ranges GeneralizedRange+Subtraction.swift
[11/36] Compiling Ranges GeneralizedRange.swift
[12/36] Compiling Ranges HashableRange.swift
[13/36] Compiling Ranges LeftOpenRange.swift
[14/36] Compiling Ranges CustomStringConvertibleRange.swift
[15/36] Compiling Ranges EmptyRange.swift
[16/36] Compiling Ranges ExcludedLowerBound.swift
[17/36] Compiling Ranges GeneralizedRange+Comparison+ParticularCases.swift
[18/36] Compiling Ranges Memoizables.swift
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:13:24: error: cannot find 'DispatchQueue' in scope
11 | /// Results can be memoized.
12 | public final class MemoizableRangeDictionary<Bound, Value>: @unchecked Sendable where Bound: Comparable & Hashable {
13 |   private let _queue = DispatchQueue(
   |                        `- error: cannot find 'DispatchQueue' in scope
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:15:18: error: cannot infer contextual base in reference to member 'concurrent'
13 |   private let _queue = DispatchQueue(
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
   |                  `- error: cannot infer contextual base in reference to member 'concurrent'
16 |   )
17 |
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:27:32: error: cannot infer contextual base in reference to member 'barrier'
25 |
26 |   public subscript(_ element: Bound) -> Value? {
27 |     return _queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
28 |       func __valueWithMemoizing(for bound: Bound) -> Value? {
29 |         func __recentValue(for bound: Bound) -> Value? {
[19/36] Compiling Ranges MultipleRanges.swift
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:13:24: error: cannot find 'DispatchQueue' in scope
11 | /// Results can be memoized.
12 | public final class MemoizableRangeDictionary<Bound, Value>: @unchecked Sendable where Bound: Comparable & Hashable {
13 |   private let _queue = DispatchQueue(
   |                        `- error: cannot find 'DispatchQueue' in scope
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:15:18: error: cannot infer contextual base in reference to member 'concurrent'
13 |   private let _queue = DispatchQueue(
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
   |                  `- error: cannot infer contextual base in reference to member 'concurrent'
16 |   )
17 |
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:27:32: error: cannot infer contextual base in reference to member 'barrier'
25 |
26 |   public subscript(_ element: Bound) -> Value? {
27 |     return _queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
28 |       func __valueWithMemoizing(for bound: Bound) -> Value? {
29 |         func __recentValue(for bound: Bound) -> Value? {
[20/36] Compiling Ranges OpenRange.swift
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:13:24: error: cannot find 'DispatchQueue' in scope
11 | /// Results can be memoized.
12 | public final class MemoizableRangeDictionary<Bound, Value>: @unchecked Sendable where Bound: Comparable & Hashable {
13 |   private let _queue = DispatchQueue(
   |                        `- error: cannot find 'DispatchQueue' in scope
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:15:18: error: cannot infer contextual base in reference to member 'concurrent'
13 |   private let _queue = DispatchQueue(
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
   |                  `- error: cannot infer contextual base in reference to member 'concurrent'
16 |   )
17 |
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:27:32: error: cannot infer contextual base in reference to member 'barrier'
25 |
26 |   public subscript(_ element: Bound) -> Value? {
27 |     return _queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
28 |       func __valueWithMemoizing(for bound: Bound) -> Value? {
29 |         func __recentValue(for bound: Bound) -> Value? {
[21/36] Compiling Ranges PartialRangeFrom+GeneralizedRange.swift
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:13:24: error: cannot find 'DispatchQueue' in scope
11 | /// Results can be memoized.
12 | public final class MemoizableRangeDictionary<Bound, Value>: @unchecked Sendable where Bound: Comparable & Hashable {
13 |   private let _queue = DispatchQueue(
   |                        `- error: cannot find 'DispatchQueue' in scope
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:15:18: error: cannot infer contextual base in reference to member 'concurrent'
13 |   private let _queue = DispatchQueue(
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
   |                  `- error: cannot infer contextual base in reference to member 'concurrent'
16 |   )
17 |
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:27:32: error: cannot infer contextual base in reference to member 'barrier'
25 |
26 |   public subscript(_ element: Bound) -> Value? {
27 |     return _queue.sync(flags: .barrier) {
   |                                `- error: cannot infer contextual base in reference to member 'barrier'
28 |       func __valueWithMemoizing(for bound: Bound) -> Value? {
29 |         func __recentValue(for bound: Bound) -> Value? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/36] Compiling Ranges Boundary+Comparison.swift
[23/36] Compiling Ranges Boundary+Concatenation.swift
[24/36] Compiling Ranges Boundary.swift
[25/36] Compiling Ranges ClosedRange+GeneralizedRange.swift
[26/36] Compiling Ranges AnyBounds.swift
[27/36] Compiling Ranges AnyRange+Operators.swift
[28/36] Compiling Ranges AnyRange.swift
[29/36] Compiling Ranges Array+TwoEachElements.swift
[30/36] Emitting module Ranges
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:13:24: error: cannot find 'DispatchQueue' in scope
11 | /// Results can be memoized.
12 | public final class MemoizableRangeDictionary<Bound, Value>: @unchecked Sendable where Bound: Comparable & Hashable {
13 |   private let _queue = DispatchQueue(
   |                        `- error: cannot find 'DispatchQueue' in scope
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Ranges/Memoizables.swift:15:18: error: cannot infer contextual base in reference to member 'concurrent'
13 |   private let _queue = DispatchQueue(
14 |     label: "jp.YOCKOW.Ranges.MemoizableRangeDictionary.\(UUID().description)",
15 |     attributes: .concurrent
   |                  `- error: cannot infer contextual base in reference to member 'concurrent'
16 |   )
17 |
[31/36] Compiling Ranges Range+GeneralizedRange.swift
[32/36] Compiling Ranges RangeDictionary.swift
[33/36] Compiling Ranges TangibleUnboundedRange.swift
BUILD FAILURE 6.2 wasm