Build Information
Failed to build Mint, reference 0.18.0 (7bc67a
), with Swift 6.1 for Wasm on 4 Jun 2025 15:01:21 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/yonaskolb/Mint.git
Reference: 0.18.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/yonaskolb/Mint
* tag 0.18.0 -> FETCH_HEAD
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 0.18.0
========================================
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-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 -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/SwiftCLI.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/mxcl/Version.git
[1/288] Fetching version
[289/1699] Fetching version, pathkit
[318/6773] Fetching version, pathkit, swiftcli
[907/7969] Fetching version, pathkit, swiftcli, rainbow
Fetched https://github.com/mxcl/Version.git from cache (0.54s)
[4928/7681] Fetching pathkit, swiftcli, rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.68s)
[4690/6485] Fetching pathkit, swiftcli
Fetched https://github.com/kylef/PathKit.git from cache (0.70s)
[3654/5074] Fetching swiftcli
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.94s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (4.84s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.19s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.71s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.1.0 (1.83s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (3.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.91s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
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
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/57] 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
[10/57] Emitting module Rainbow
[11/58] Compiling Version Version.swift
[12/58] Compiling Version Version+Range.swift
[13/58] Compiling Rainbow Style.swift
[14/58] Compiling Rainbow BackgroundColor.swift
[15/58] Compiling Rainbow CodesParser.swift
[16/58] Compiling Rainbow ColorApproximation.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/58] Compiling Rainbow ControlCode.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/58] Compiling Rainbow ModesExtractor.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 |
[19/60] 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 |
[20/60] 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 |
[21/60] 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 |
[22/60] Compiling Rainbow String+Rainbow.swift
[23/60] Compiling Rainbow StringGenerator.swift
[24/60] 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 |
[25/60] 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 |
[26/60] Compiling Rainbow Rainbow.swift
[27/60] Compiling Version Version+Comparable.swift
[28/60] Compiling Version Version+Codable.swift
[29/60] Emitting module Version
[30/60] Compiling Version Version+Foundation.swift
[31/61] 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 |
[32/61] 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 |
[33/61] Compiling Rainbow OutputTarget.swift
[36/61] 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 |
[37/61] 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 |
[38/61] 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 |
[40/61] 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 |
[41/61] 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 |
[42/61] 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)
[43/61] 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 |
[46/61] Compiling Rainbow Color.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 Input.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 |
[50/62] Compiling SwiftCLI Option.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 |
[51/62] Compiling SwiftCLI OptionGroup.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 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
[53/62] Wrapping AST for Version for debugging
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/50] Compiling Version Version+Comparable.swift
[3/50] Compiling Rainbow StringGenerator.swift
[4/51] Compiling Version Version+Foundation.swift
[5/51] Compiling Rainbow ControlCode.swift
[6/51] Compiling Rainbow ModesExtractor.swift
[7/51] Compiling Rainbow OutputTarget.swift
[8/51] Emitting module Version
[9/51] Compiling Version Version+Codable.swift
[10/51] Compiling Rainbow Style.swift
[11/51] Compiling Rainbow BackgroundColor.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/51] Compiling Rainbow CodesParser.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/51] Compiling Rainbow Color.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 |
[14/53] 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 |
[15/53] 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 |
[16/53] Compiling Rainbow ColorApproximation.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 |
/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 |
[19/53] Compiling Version Version+Range.swift
[20/53] Compiling Version Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/54] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/54] 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
[24/54] 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
[25/54] 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 |
[26/54] 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 |
[27/54] Compiling Rainbow Rainbow.swift
[28/54] Compiling Rainbow String+Rainbow.swift
[31/54] Emitting module Rainbow
[31/54] Wrapping AST for Version for debugging
BUILD FAILURE 6.1 wasm