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 Ice, reference 0.8.3 (8e0bb5), with Swift 6.1 for Wasm on 28 May 2025 00:11:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/jakeheis/ice.git
Reference: 0.8.3
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/jakeheis/ice
 * tag               0.8.3      -> FETCH_HEAD
HEAD is now at 8e0bb5e Linux swift 5.4 updates
Cloned https://github.com/jakeheis/ice.git
Revision (git rev-parse @):
8e0bb5e8bc9b11b33dc249d6caee5ded975d74b5
SUCCESS checkout https://github.com/jakeheis/ice.git at 0.8.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jakeheis/ice.git
https://github.com/jakeheis/ice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "icebox",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.6",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/Icebox"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    },
    {
      "identity" : "swiftytexttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scottrhoyt/SwiftyTextTable"
    }
  ],
  "manifest_display_name" : "Ice",
  "name" : "Ice",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ice",
      "targets" : [
        "Ice"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "IceKit",
      "targets" : [
        "IceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestingUtilities",
      "module_type" : "SwiftTarget",
      "name" : "TestingUtilities",
      "path" : "Sources/TestingUtilities",
      "product_dependencies" : [
        "Icebox"
      ],
      "sources" : [
        "TestingUtilities.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IceTests",
      "module_type" : "SwiftTarget",
      "name" : "IceTests",
      "path" : "Tests/IceTests",
      "product_dependencies" : [
        "Icebox",
        "Rainbow"
      ],
      "sources" : [
        "AddTests.swift",
        "BuildTests.swift",
        "CleanTests.swift",
        "ConfigTests.swift",
        "DumpTests.swift",
        "InitTests.swift",
        "NewTests.swift",
        "OutdatedTests.swift",
        "ProductTests.swift",
        "RegistryTests.swift",
        "RemoveTests.swift",
        "ResolveTests.swift",
        "RunTests.swift",
        "SearchTests.swift",
        "TargetTests.swift",
        "ToolsVersionTests.swift",
        "UpdateTests.swift",
        "VersionTests.swift"
      ],
      "target_dependencies" : [
        "TestingUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "IceKitTests",
      "path" : "Tests/IceKitTests",
      "product_dependencies" : [
        "Icebox",
        "PathKit",
        "SwiftCLI"
      ],
      "sources" : [
        "BuildTransformTests.swift",
        "ConfigTests.swift",
        "Fixtures.swift",
        "InitTransformTests.swift",
        "LineTests.swift",
        "PackageDataTests.swift",
        "PackageFileTests.swift",
        "PackageTests.swift",
        "PackageWriterTests.swift",
        "RegistryTests.swift",
        "RepositoryReferenceTests.swift",
        "ResolveTransformTests.swift",
        "TestTransformTests.swift",
        "TransformerTest.swift",
        "VersionTests.swift"
      ],
      "target_dependencies" : [
        "IceKit",
        "TestingUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IceKit",
      "module_type" : "SwiftTarget",
      "name" : "IceKit",
      "path" : "Sources/IceKit",
      "product_dependencies" : [
        "PathKit",
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "ice",
        "IceKit"
      ],
      "sources" : [
        "Config.swift",
        "Error.swift",
        "Extensions.swift",
        "Git.swift",
        "Ice.swift",
        "Logger.swift",
        "Package.swift",
        "PackageData/PackageData.swift",
        "PackageData/V4_0.swift",
        "PackageData/V4_2.swift",
        "PackageData/V5_0.swift",
        "PackageFile.swift",
        "PackageFormatter.swift",
        "PackageWriter.swift",
        "Regex.swift",
        "Registry.swift",
        "RepositoryReference.swift",
        "Resolved.swift",
        "SPM.swift",
        "SourceWatcher.swift",
        "Transformers/AssertionMatchers.swift",
        "Transformers/Build.swift",
        "Transformers/BuildLines.swift",
        "Transformers/Captures.swift",
        "Transformers/Init.swift",
        "Transformers/Matchable.swift",
        "Transformers/Resolve.swift",
        "Transformers/Shared.swift",
        "Transformers/Test.swift",
        "Transformers/TestLines.swift",
        "Transformers/TransformStream.swift",
        "Transformers/Transformer.swift",
        "Version.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IceCLI",
      "module_type" : "SwiftTarget",
      "name" : "IceCLI",
      "path" : "Sources/IceCLI",
      "product_dependencies" : [
        "PathKit",
        "Rainbow",
        "SwiftCLI",
        "SwiftyTextTable"
      ],
      "product_memberships" : [
        "ice"
      ],
      "sources" : [
        "Commands/Add.swift",
        "Commands/Build.swift",
        "Commands/Clean.swift",
        "Commands/Config.swift",
        "Commands/Describe.swift",
        "Commands/Dump.swift",
        "Commands/Format.swift",
        "Commands/GenerateCompletions.swift",
        "Commands/Init.swift",
        "Commands/New.swift",
        "Commands/Outdated.swift",
        "Commands/Product.swift",
        "Commands/Registry.swift",
        "Commands/Remove.swift",
        "Commands/Reset.swift",
        "Commands/Resolve.swift",
        "Commands/Run.swift",
        "Commands/Search.swift",
        "Commands/Shared.swift",
        "Commands/Target.swift",
        "Commands/Test.swift",
        "Commands/ToolsVersion.swift",
        "Commands/Update.swift",
        "Commands/Version.swift",
        "IceCLI.swift"
      ],
      "target_dependencies" : [
        "IceKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Ice",
      "module_type" : "SwiftTarget",
      "name" : "Ice",
      "path" : "Sources/Ice",
      "product_memberships" : [
        "ice"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "IceCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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/jakeheis/Icebox
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/jakeheis/SwiftCLI
[1/129] Fetching icebox
[130/1540] Fetching icebox, pathkit
[596/6614] Fetching icebox, pathkit, swiftcli
[1998/7810] Fetching icebox, pathkit, swiftcli, rainbow
[4953/8739] Fetching icebox, pathkit, swiftcli, rainbow, swiftytexttable
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.36s)
Fetched https://github.com/kylef/PathKit from cache (0.36s)
Fetched https://github.com/jakeheis/Icebox from cache (0.36s)
Fetched https://github.com/onevcat/Rainbow from cache (0.36s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.37s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (2.40s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.23s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/jakeheis/Icebox
Computed https://github.com/jakeheis/Icebox at 0.0.7 (0.93s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.39s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.76s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.71s)
Creating working copy for https://github.com/jakeheis/Icebox
Working copy of https://github.com/jakeheis/Icebox resolved at 0.0.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/19] Write sources
[9/19] Write swift-version-24593BA9C3E375BF.txt
[11/55] Emitting module Rainbow
[12/56] Compiling Rainbow XcodeColorsSupport.swift
[13/56] Compiling Rainbow StringGenerator.swift
[14/56] Compiling Rainbow String+Rainbow.swift
[15/56] Compiling Rainbow Style.swift
[16/56] Compiling Rainbow Rainbow.swift
[17/56] Compiling SwiftyTextTable TextTable.swift
[18/56] Emitting module SwiftyTextTable
[19/57] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[20/57] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/59] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[22/59] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[23/59] Compiling SwiftCLI OptionRegistry.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[24/59] Compiling SwiftCLI Parameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[25/59] Compiling SwiftCLI Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[26/59] Compiling SwiftCLI Path.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[27/59] Compiling SwiftCLI Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[28/59] Compiling SwiftCLI Task.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[29/59] Compiling Rainbow Color.swift
[30/59] Compiling Rainbow ControlCode.swift
[31/59] Compiling Rainbow BackgroundColor.swift
[32/59] Compiling Rainbow CodesParser.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/46] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[3/46] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[4/46] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[5/48] Compiling SwiftCLI Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[6/48] Compiling SwiftCLI Compatibility.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[7/48] Compiling SwiftCLI CompletionGenerator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[8/48] Emitting module SwiftyTextTable
[9/48] Compiling SwiftyTextTable TextTable.swift
[10/48] Compiling Rainbow Style.swift
[11/48] Compiling SwiftCLI ArgumentList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[12/48] Compiling SwiftCLI ArgumentListManipulator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[13/48] Compiling SwiftCLI CLI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/48] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[15/49] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[16/49] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[17/49] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[18/50] Compiling Rainbow StringGenerator.swift
[19/50] Compiling Rainbow Rainbow.swift
[20/50] Compiling SwiftCLI Stream.swift
[21/50] Compiling SwiftCLI Task.swift
[22/50] Compiling SwiftCLI Input.swift
[23/50] Compiling SwiftCLI Option.swift
[24/50] Compiling SwiftCLI OptionGroup.swift
[25/50] Compiling SwiftCLI Path.swift
[26/50] Emitting module Rainbow
[27/50] Compiling Rainbow String+Rainbow.swift
[29/50] Compiling Rainbow XcodeColorsSupport.swift
BUILD FAILURE 6.1 wasm