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 Mint, reference master (7bc67a), with Swift 6.1 for Wasm on 4 Jun 2025 15:01:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/yonaskolb/Mint.git
Reference: master
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/yonaskolb/Mint
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7bc67a0 Update to 0.18.0
Cloned https://github.com/yonaskolb/Mint.git
Revision (git rev-parse @):
7bc67a0b925b949c8becc327bc08f56eeadc0051
SUCCESS checkout https://github.com/yonaskolb/Mint.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/Mint.git
https://github.com/yonaskolb/Mint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version.git"
    }
  ],
  "manifest_display_name" : "Mint",
  "name" : "Mint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "mint",
      "targets" : [
        "Mint"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MintKit",
      "targets" : [
        "MintKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MintTests",
      "module_type" : "SwiftTarget",
      "name" : "MintTests",
      "path" : "Tests/MintTests",
      "sources" : [
        "Fixtures.swift",
        "MintTests.swift",
        "MintfileTests.swift",
        "PackageTests.swift",
        "ProcessInfoExtensionTests.swift",
        "TestHelpers.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MintKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MintKit",
      "module_type" : "SwiftTarget",
      "name" : "MintKit",
      "path" : "Sources/MintKit",
      "product_dependencies" : [
        "Rainbow",
        "PathKit",
        "Version",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "mint",
        "MintKit"
      ],
      "sources" : [
        "Cache.swift",
        "GitTag.swift",
        "InputReader.swift",
        "InstallStatus.swift",
        "Mint.swift",
        "MintError.swift",
        "Mintfile.swift",
        "PackagePath.swift",
        "PackageReference.swift",
        "ProcessInfoExtensions.swift",
        "StringExtensions.swift",
        "SwiftPackage.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MintCLI",
      "module_type" : "SwiftTarget",
      "name" : "MintCLI",
      "path" : "Sources/MintCLI",
      "product_dependencies" : [
        "Rainbow",
        "SwiftCLI"
      ],
      "product_memberships" : [
        "mint"
      ],
      "sources" : [
        "Commands/BootstrapCommand.swift",
        "Commands/InstallCommand.swift",
        "Commands/ListCommand.swift",
        "Commands/MintCommand.swift",
        "Commands/MintFileCommand.swift",
        "Commands/OutdatedCommand.swift",
        "Commands/PackageCommand.swift",
        "Commands/RunCommand.swift",
        "Commands/UninstallCommand.swift",
        "Commands/WhichCommand.swift",
        "MintCLI.swift"
      ],
      "target_dependencies" : [
        "MintKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Mint",
      "module_type" : "SwiftTarget",
      "name" : "Mint",
      "path" : "Sources/Mint",
      "product_memberships" : [
        "mint"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MintCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/mxcl/Version.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[171/1699] Fetching pathkit, version
[1630/2895] Fetching pathkit, version, rainbow
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetched https://github.com/mxcl/Version.git from cache (0.23s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.27s)
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
[1/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.34s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (3.40s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.25s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.1.0 (1.37s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (1.92s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.46s)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.1.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/57] Compiling Version Version.swift
[10/57] Compiling Rainbow StringGenerator.swift
[11/58] Compiling Version Version+Range.swift
[12/58] Emitting module Rainbow
[13/58] Emitting module Version
[14/58] Compiling Rainbow String+Rainbow.swift
[15/58] Compiling Rainbow Style.swift
[16/58] Compiling SwiftCLI OptionRegistry.swift
[17/58] 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 |
/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/58] 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 |
[21/58] 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 |
[22/58] 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 |
[23/58] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/60] 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
[25/60] 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
[26/60] Compiling SwiftCLI Option.swift
[27/60] Compiling SwiftCLI OptionGroup.swift
[29/60] Compiling SwiftCLI Input.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/60] 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 |
/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 |
/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 |
/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 |
[34/60] 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 |
[35/60] 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 |
[36/60] 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 |
[37/60] Compiling SwiftCLI Error.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 |
[38/60] Compiling SwiftCLI HelpCommand.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 |
[39/60] Compiling SwiftCLI HelpMessageGenerator.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 |
[40/60] Compiling Version Version+Codable.swift
[41/60] Compiling Version Version+Foundation.swift
[42/60] Compiling Version Version+Comparable.swift
[43/61] Compiling Rainbow OutputTarget.swift
[44/61] Compiling Rainbow Rainbow.swift
[45/62] 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 |
[46/62] 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 |
[47/62] 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 |
[48/62] 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 |
[49/62] 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 |
[52/62] 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 |
[53/62] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[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/50] 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
[3/50] 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
BUILD FAILURE 6.1 wasm