Build Information
Failed to build swift-typed-resources, reference 1.0.0 (9b70a2
), with Swift 6.1 for Wasm on 31 Jul 2025 13:33:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bestK1ngArthur/swift-typed-resources.git
Reference: 1.0.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/bestK1ngArthur/swift-typed-resources
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 9b70a2c Update readme
Cloned https://github.com/bestK1ngArthur/swift-typed-resources.git
Revision (git rev-parse @):
9b70a2c83dfdafaf2134fb53be38fe0dce733c01
SUCCESS checkout https://github.com/bestK1ngArthur/swift-typed-resources.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bestK1ngArthur/swift-typed-resources.git
https://github.com/bestK1ngArthur/swift-typed-resources.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "swift-typed-resources",
"name" : "swift-typed-resources",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftTypedResources",
"targets" : [
"SwiftTypedResources"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTypedResourcesModels",
"targets" : [
"SwiftTypedResourcesModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTypedResourcesParsers",
"targets" : [
"SwiftTypedResourcesParsers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTypedResourcesGenerators",
"targets" : [
"SwiftTypedResourcesGenerators"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTypedResourcesTool",
"targets" : [
"SwiftTypedResourcesTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "GenerateResources",
"targets" : [
"GenerateResources"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftTypedResourcesTool",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesTool",
"path" : "Sources/Tool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"SwiftTypedResourcesTool",
"GenerateResources"
],
"sources" : [
"SwitTypedResourcesTool.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesParsers",
"SwiftTypedResourcesGenerators"
],
"type" : "executable"
},
{
"c99name" : "SwiftTypedResourcesParsersTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesParsersTests",
"path" : "Tests/Parsers",
"sources" : [
"XCStringsParserTests.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesParsers"
],
"type" : "test"
},
{
"c99name" : "SwiftTypedResourcesParsers",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesParsers",
"path" : "Sources/Parsers",
"product_memberships" : [
"SwiftTypedResourcesParsers",
"SwiftTypedResourcesTool",
"GenerateResources"
],
"sources" : [
"XCAssetsParser.swift",
"XCStringsParser.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesModels"
],
"type" : "library"
},
{
"c99name" : "SwiftTypedResourcesModels",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesModels",
"path" : "Sources/Models",
"product_memberships" : [
"SwiftTypedResourcesModels",
"SwiftTypedResourcesParsers",
"SwiftTypedResourcesGenerators",
"SwiftTypedResourcesTool",
"GenerateResources"
],
"sources" : [
"Bundle.swift",
"ImagesResource.swift",
"StringsResource.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftTypedResourcesGeneratorsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesGeneratorsTests",
"path" : "Tests/Generators",
"sources" : [
"ImagesFileGeneratorTests.swift",
"StringsFileGeneratorTests.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesGenerators"
],
"type" : "test"
},
{
"c99name" : "SwiftTypedResourcesGenerators",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResourcesGenerators",
"path" : "Sources/Generators",
"product_memberships" : [
"SwiftTypedResourcesGenerators",
"SwiftTypedResourcesTool",
"GenerateResources"
],
"sources" : [
"FormattedTemplates.swift",
"ImagesFileGenerator.swift",
"String+Utils.swift",
"StringsFileGenerator.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesModels"
],
"type" : "library"
},
{
"c99name" : "SwiftTypedResources",
"module_type" : "SwiftTarget",
"name" : "SwiftTypedResources",
"path" : "Sources/Library",
"product_memberships" : [
"SwiftTypedResources"
],
"sources" : [
"Images/Images+Utils.swift",
"Images/Images.swift",
"Strings/Strings+Utils.swift",
"Strings/Strings.swift"
],
"type" : "library"
},
{
"c99name" : "GenerateResources",
"module_type" : "PluginTarget",
"name" : "GenerateResources",
"path" : "Sources/Plugins/GenerateResources",
"plugin_capability" : {
"intent" : {
"description" : "Generate resources by command",
"type" : "custom",
"verb" : "generate-resources"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Write generated files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"GenerateResources"
],
"sources" : [
"GenerateResourcesCommand.swift"
],
"target_dependencies" : [
"SwiftTypedResourcesTool"
],
"type" : "plugin"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15579] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.66s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateResources
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/33] Write sources
[16/33] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/50] Emitting module SwiftTypedResources
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[19/50] Emitting module SwiftTypedResourcesModels
[20/50] Compiling SwiftTypedResourcesModels ImagesResource.swift
[21/50] Emitting module ArgumentParserToolInfo
[22/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/51] Compiling SwiftTypedResourcesModels StringsResource.swift
[24/51] Emitting module ArgumentParserToolInfo
[25/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/52] Compiling SwiftTypedResourcesModels StringsResource.swift
[29/52] Compiling SwiftTypedResourcesModels ImagesResource.swift
[29/52] Wrapping AST for ArgumentParserToolInfo for debugging
[32/140] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[33/140] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[34/140] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[35/140] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[36/140] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[37/140] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/146] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[39/146] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[40/146] Compiling ArgumentParser CodingKeyValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[41/146] Compiling ArgumentParser NonsenseFlagsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[42/146] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[43/146] Compiling ArgumentParser PositionalArgumentsValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[44/146] Compiling ArgumentParser UniqueNamesValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[45/146] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[46/146] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[47/146] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[48/146] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[49/146] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[50/146] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[51/146] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
15 | internal import class Foundation.ProcessInfo
16 | #else
17 | @preconcurrency import class Dispatch.DispatchSemaphore
| `- error: no such module 'Dispatch'
18 | import class Foundation.NSLock
19 | import class Foundation.ProcessInfo
[52/146] Compiling SwiftTypedResources Images.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[53/146] Compiling SwiftTypedResources Images+Utils.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[54/146] Compiling SwiftTypedResources Strings+Utils.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[55/146] Compiling SwiftTypedResources Strings.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[56/146] Compiling SwiftTypedResourcesModels Bundle.swift
[57/147] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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 GenerateResources
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/20] Write swift-version-24593BA9C3E375BF.txt
[5/37] Emitting module SwiftTypedResourcesModels
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/37] Emitting module SwiftTypedResources
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[7/37] Compiling SwiftTypedResources Images+Utils.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[8/37] Compiling SwiftTypedResources Strings+Utils.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[9/37] Compiling SwiftTypedResources Strings.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[10/37] Compiling SwiftTypedResources Images.swift
/host/spi-builder-workspace/Sources/Library/Images/Images+Utils.swift:9:8: error: no such module 'SwiftUI'
7 | //
8 |
9 | import SwiftUI
| `- error: no such module 'SwiftUI'
10 | import UIKit
11 |
[11/37] Compiling SwiftTypedResourcesModels Bundle.swift
[12/37] Compiling SwiftTypedResourcesModels ImagesResource.swift
[13/37] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm