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.1 (97a25b), with Swift 6.1 for Wasm on 29 May 2025 19:07:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/yockow/swiftranges.git
Reference: 3.2.1
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.1      -> FETCH_HEAD
HEAD is now at 97a25be Merge pull request #32 from YOCKOW/development
Cloned https://github.com/yockow/swiftranges.git
Revision (git rev-parse @):
97a25be1410234d03de69e1ac93f54ba853b04ef
SUCCESS checkout https://github.com/yockow/swiftranges.git at 3.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yockow/swiftranges.git
https://github.com/yockow/swiftranges.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ranges",
  "name" : "Ranges",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRanges",
      "targets" : [
        "Ranges"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5",
    "6"
  ],
  "targets" : [
    {
      "c99name" : "RangesTests",
      "module_type" : "SwiftTarget",
      "name" : "RangesTests",
      "path" : "Tests/RangesTests",
      "sources" : [
        "AnyRangeTests.swift",
        "BoundaryTests.swift",
        "ExcludedLowerBoundTests.swift",
        "GeneralizedRangeTests.swift",
        "LeftOpenRangeTests.swift",
        "MemoizablesTests.swift",
        "MultipleRangesTests.swift",
        "OpenRangeTests.swift",
        "PartialRangeGreaterThanTests.swift",
        "RangeDictionaryTests.swift"
      ],
      "target_dependencies" : [
        "Ranges"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ranges",
      "module_type" : "SwiftTarget",
      "name" : "Ranges",
      "path" : "Sources/Ranges",
      "product_memberships" : [
        "SwiftRanges"
      ],
      "sources" : [
        "AnyBounds.swift",
        "AnyRange+Operators.swift",
        "AnyRange.swift",
        "Array+TwoEachElements.swift",
        "Boundary+Comparison.swift",
        "Boundary+Concatenation.swift",
        "Boundary.swift",
        "ClosedRange+GeneralizedRange.swift",
        "CustomStringConvertibleRange.swift",
        "EmptyRange.swift",
        "ExcludedLowerBound.swift",
        "GeneralizedRange+Comparison+ParticularCases.swift",
        "GeneralizedRange+Comparison.swift",
        "GeneralizedRange+Concatenation.swift",
        "GeneralizedRange+Intersection.swift",
        "GeneralizedRange+Overlaps.swift",
        "GeneralizedRange+Subtraction.swift",
        "GeneralizedRange.swift",
        "HashableRange.swift",
        "LeftOpenRange.swift",
        "Memoizables.swift",
        "MultipleRanges.swift",
        "OpenRange.swift",
        "PartialRangeFrom+GeneralizedRange.swift",
        "PartialRangeGreaterThan.swift",
        "PartialRangeThrough+GeneralizedRange.swift",
        "PartialRangeUpTo+GeneralizedRange.swift",
        "Range+GeneralizedRange.swift",
        "RangeDictionary.swift",
        "TangibleUnboundedRange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/33] 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 |
[4/36] Compiling Ranges PartialRangeGreaterThan.swift
[5/36] Compiling Ranges PartialRangeThrough+GeneralizedRange.swift
[6/36] Compiling Ranges PartialRangeUpTo+GeneralizedRange.swift
[7/36] Compiling Ranges Range+GeneralizedRange.swift
[8/36] Compiling Ranges RangeDictionary.swift
[9/36] Compiling Ranges TangibleUnboundedRange.swift
[10/36] Compiling Ranges CustomStringConvertibleRange.swift
[11/36] Compiling Ranges EmptyRange.swift
[12/36] Compiling Ranges ExcludedLowerBound.swift
[13/36] Compiling Ranges GeneralizedRange+Comparison+ParticularCases.swift
[14/36] Compiling Ranges Boundary+Comparison.swift
[15/36] Compiling Ranges Boundary+Concatenation.swift
[16/36] Compiling Ranges Boundary.swift
[17/36] Compiling Ranges ClosedRange+GeneralizedRange.swift
[18/36] Compiling Ranges GeneralizedRange+Subtraction.swift
[19/36] Compiling Ranges GeneralizedRange.swift
[20/36] Compiling Ranges HashableRange.swift
[21/36] Compiling Ranges LeftOpenRange.swift
[22/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? {
[23/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? {
[24/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? {
[25/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? {
[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] Compiling Ranges GeneralizedRange+Comparison.swift
[31/36] Compiling Ranges GeneralizedRange+Concatenation.swift
[32/36] Compiling Ranges GeneralizedRange+Intersection.swift
[33/36] Compiling Ranges GeneralizedRange+Overlaps.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/32] 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? {
[3/32] 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? {
[4/32] 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? {
[5/32] 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? {
[6/35] Compiling Ranges PartialRangeGreaterThan.swift
[7/35] Compiling Ranges PartialRangeThrough+GeneralizedRange.swift
[8/35] Compiling Ranges PartialRangeUpTo+GeneralizedRange.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/35] 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 |
[10/35] Compiling Ranges Boundary+Comparison.swift
[11/35] Compiling Ranges Boundary+Concatenation.swift
[12/35] Compiling Ranges Boundary.swift
[13/35] Compiling Ranges ClosedRange+GeneralizedRange.swift
[14/35] Compiling Ranges GeneralizedRange+Subtraction.swift
[15/35] Compiling Ranges GeneralizedRange.swift
[16/35] Compiling Ranges HashableRange.swift
[17/35] Compiling Ranges LeftOpenRange.swift
[18/35] Compiling Ranges CustomStringConvertibleRange.swift
[19/35] Compiling Ranges EmptyRange.swift
[20/35] Compiling Ranges ExcludedLowerBound.swift
[21/35] Compiling Ranges GeneralizedRange+Comparison+ParticularCases.swift
[22/35] Compiling Ranges GeneralizedRange+Comparison.swift
[23/35] Compiling Ranges GeneralizedRange+Concatenation.swift
[24/35] Compiling Ranges GeneralizedRange+Intersection.swift
[25/35] Compiling Ranges GeneralizedRange+Overlaps.swift
[26/35] Compiling Ranges AnyBounds.swift
[27/35] Compiling Ranges AnyRange+Operators.swift
[28/35] Compiling Ranges AnyRange.swift
[29/35] Compiling Ranges Array+TwoEachElements.swift
[30/35] Compiling Ranges Range+GeneralizedRange.swift
[31/35] Compiling Ranges RangeDictionary.swift
[32/35] Compiling Ranges TangibleUnboundedRange.swift
BUILD FAILURE 6.1 wasm