Build Information
Failed to build Grain, reference 0.6.4 (a44e13
), with Swift 6.1 for Wasm on 28 May 2025 10:38:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/muukii/Grain.git
Reference: 0.6.4
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/muukii/Grain
* tag 0.6.4 -> FETCH_HEAD
HEAD is now at a44e13c Fix overload
Cloned https://github.com/muukii/Grain.git
Revision (git rev-parse @):
a44e13c2881c678c1bd5ac60c44da3ae60b445d4
SUCCESS checkout https://github.com/muukii/Grain.git at 0.6.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/muukii/Grain.git
https://github.com/muukii/Grain.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.6.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "Grain",
"name" : "Grain",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GrainDescriptor",
"targets" : [
"GrainDescriptor"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "grain",
"targets" : [
"Grain",
"GrainDescriptor"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "GrainDescriptorTests",
"module_type" : "SwiftTarget",
"name" : "GrainDescriptorTests",
"path" : "Tests/GrainDescriptorTests",
"sources" : [
"APNs.swift",
"Tests.swift"
],
"target_dependencies" : [
"GrainDescriptor"
],
"type" : "test"
},
{
"c99name" : "GrainDescriptor",
"module_type" : "SwiftTarget",
"name" : "GrainDescriptor",
"path" : "Sources/GrainDescriptor",
"product_dependencies" : [
"Yams",
"Alamofire",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"GrainDescriptor",
"grain"
],
"sources" : [
"Entrypoint.swift",
"Logger.swift",
"Source.swift"
],
"type" : "library"
},
{
"c99name" : "Grain",
"module_type" : "SwiftTarget",
"name" : "Grain",
"path" : "Sources/Grain",
"product_dependencies" : [
"ArgumentParser",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"grain"
],
"sources" : [
"CLI.swift",
"FileSystem+.swift",
"Logger.swift",
"PlatformVersion.swift"
],
"target_dependencies" : [
"GrainDescriptor"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6763] Fetching swift-tools-support-core
[272/17420] Fetching swift-tools-support-core, yams
[1693/47561] Fetching swift-tools-support-core, yams, alamofire
[11076/62912] Fetching swift-tools-support-core, yams, alamofire, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.18s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.19s)
[21508/40798] Fetching yams, alamofire
Fetched https://github.com/jpsim/Yams.git from cache (2.85s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.09s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (4.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.58s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.65s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write sources
[7/34] Compiling TSCclibc process.c
[8/34] Compiling TSCclibc libc.c
[9/34] Compiling TSCclibc strerror.c
[10/34] Write sources
[12/34] Copying PrivacyInfo.xcprivacy
[13/34] Write sources
[14/34] Compiling writer.c
[15/34] Compiling reader.c
[16/34] Compiling api.c
[17/34] Compiling parser.c
[18/34] Compiling emitter.c
[19/34] Write swift-version-24593BA9C3E375BF.txt
[20/34] Compiling scanner.c
[22/97] Emitting module ArgumentParserToolInfo
[23/97] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/97] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
[25/97] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/98] Emitting module Alamofire
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:25:8: error: no such module 'Dispatch'
23 | //
24 |
25 | import Dispatch
| `- error: no such module 'Dispatch'
26 | import Foundation
27 | #if canImport(FoundationNetworking)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/78] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/78] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
BUILD FAILURE 6.1 wasm