Build Information
Failed to build fx-upscale, reference main (d9ee19
), with Swift 6.1 for Wasm on 8 Jul 2025 11:37:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/finnvoor/fx-upscale.git
Reference: main
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/finnvoor/fx-upscale
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9ee19a Update CI (#24)
Cloned https://github.com/finnvoor/fx-upscale.git
Revision (git rev-parse @):
d9ee19afb85c5de9818ea32a7857fdf140b62ded
SUCCESS checkout https://github.com/finnvoor/fx-upscale.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/finnvoor/fx-upscale.git
https://github.com/finnvoor/fx-upscale.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifttui",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Finnvoor/SwiftTUI.git"
}
],
"manifest_display_name" : "fx-upscale",
"name" : "fx-upscale",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "fx-upscale",
"targets" : [
"fx-upscale"
],
"type" : {
"executable" : null
}
},
{
"name" : "Upscaling",
"targets" : [
"Upscaling"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "fx_upscale",
"module_type" : "SwiftTarget",
"name" : "fx-upscale",
"path" : "Sources/fx-upscale",
"product_dependencies" : [
"ArgumentParser",
"SwiftTUI"
],
"product_memberships" : [
"fx-upscale"
],
"sources" : [
"FXUpscale.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "executable"
},
{
"c99name" : "UpscalingTests",
"module_type" : "SwiftTarget",
"name" : "UpscalingTests",
"path" : "Tests/UpscalingTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/UpscalingTests/Resources/ladybird.jpg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"UpscalingTests.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "test"
},
{
"c99name" : "Upscaling",
"module_type" : "SwiftTarget",
"name" : "Upscaling",
"path" : "Sources/Upscaling",
"product_memberships" : [
"fx-upscale",
"Upscaling"
],
"sources" : [
"CoreImage/UpscalingFilter.swift",
"CoreImage/UpscalingImageProcessorKernel.swift",
"Extensions/AVVideoCodecType+Extensions.swift",
"Extensions/CMFormatDescription+Extensions.swift",
"Extensions/CVPixelBuffer+Extensions.swift",
"Extensions/MTLFXSpatialScaler+Extensions.swift",
"Extensions/MTLFXSpatialScalerDescriptor+Extensions.swift",
"Extensions/MTLTexture+Extensions.swift",
"Extensions/URL+Extensions.swift",
"Upscaler.swift",
"UpscalingExportSession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Finnvoor/SwiftTUI.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/80] Fetching swifttui
Fetched https://github.com/Finnvoor/SwiftTUI.git from cache (0.22s)
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Computing version for https://github.com/Finnvoor/SwiftTUI.git
Computed https://github.com/Finnvoor/SwiftTUI.git at 1.0.4 (1.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.46s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/Finnvoor/SwiftTUI.git
Working copy of https://github.com/Finnvoor/SwiftTUI.git resolved at 1.0.4
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write sources
[7/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/36] Emitting module Upscaling
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift /host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingImageProcessorKernel.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/AVVideoCodecType+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/CMFormatDescription+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/CVPixelBuffer+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/MTLFXSpatialScaler+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/MTLFXSpatialScalerDescriptor+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/MTLTexture+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Extensions/URL+Extensions.swift /host/spi-builder-workspace/Sources/Upscaling/Upscaler.swift -primary-file /host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Upscaling.build/UpscalingExportSession.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Upscaling.build/UpscalingExportSession.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name Upscaling -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Upscaling.build/UpscalingExportSession.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1. Swift version 6.1 (swift-6.1-RELEASE)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(Upscaling.(file).UpscalingExportSession.assetWriterInput(for:formatDescription:outputSize:outputCodec:)@/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:272:25)
5. While type-checking statement at [/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:277:43 - line:331:5] RangeText="{
switch track.mediaType {
case .video:
var outputSettings: [String: Any] = [
AVVideoWidthKey: outputSize.width,
AVVideoHeightKey: outputSize.height,
AVVideoCodecKey: outputCodec ?? formatDescription?.videoCodecType ?? .hevc
]
if let colorPrimaries = formatDescription?.colorPrimaries,
let colorTransferFunction = formatDescription?.colorTransferFunction,
let colorYCbCrMatrix = formatDescription?.colorYCbCrMatrix {
outputSettings[AVVideoColorPropertiesKey] = [
AVVideoColorPrimariesKey: colorPrimaries,
AVVideoTransferFunctionKey: colorTransferFunction,
AVVideoYCbCrMatrixKey: colorYCbCrMatrix
]
}
if #available(macOS 14.0, iOS 17.0, *),
formatDescription?.hasLeftAndRightEye ?? false {
var compressionProperties: [CFString: Any] = [:]
compressionProperties[kVTCompressionPropertyKey_MVHEVCVideoLayerIDs] = [0, 1]
if let extensions = formatDescription?.extensions {
for key in [
kVTCompressionPropertyKey_HeroEye,
kVTCompressionPropertyKey_StereoCameraBaseline,
kVTCompressionPropertyKey_HorizontalDisparityAdjustment,
kCMFormatDescriptionExtension_HorizontalFieldOfView
] {
if let value = extensions.first(
where: { $0.key == key }
)?.value {
compressionProperties[key] = value
}
}
}
outputSettings[AVVideoCompressionPropertiesKey] = compressionProperties
}
let assetWriterInput = AVAssetWriterInput(
mediaType: .video,
outputSettings: outputSettings
)
assetWriterInput.transform = try await track.load(.preferredTransform)
assetWriterInput.expectsMediaDataInRealTime = false
return assetWriterInput
case .audio:
let assetWriterInput = AVAssetWriterInput(
mediaType: .audio,
outputSettings: nil,
sourceFormatHint: formatDescription
)
assetWriterInput.expectsMediaDataInRealTime = false
return assetWriterInput
default: return nil
}
"
6. While type-checking statement at [/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:278:9 - line:330:9] RangeText="switch track.mediaType {
case .video:
var outputSettings: [String: Any] = [
AVVideoWidthKey: outputSize.width,
AVVideoHeightKey: outputSize.height,
AVVideoCodecKey: outputCodec ?? formatDescription?.videoCodecType ?? .hevc
]
if let colorPrimaries = formatDescription?.colorPrimaries,
let colorTransferFunction = formatDescription?.colorTransferFunction,
let colorYCbCrMatrix = formatDescription?.colorYCbCrMatrix {
outputSettings[AVVideoColorPropertiesKey] = [
AVVideoColorPrimariesKey: colorPrimaries,
AVVideoTransferFunctionKey: colorTransferFunction,
AVVideoYCbCrMatrixKey: colorYCbCrMatrix
]
}
if #available(macOS 14.0, iOS 17.0, *),
formatDescription?.hasLeftAndRightEye ?? false {
var compressionProperties: [CFString: Any] = [:]
compressionProperties[kVTCompressionPropertyKey_MVHEVCVideoLayerIDs] = [0, 1]
if let extensions = formatDescription?.extensions {
for key in [
kVTCompressionPropertyKey_HeroEye,
kVTCompressionPropertyKey_StereoCameraBaseline,
kVTCompressionPropertyKey_HorizontalDisparityAdjustment,
kCMFormatDescriptionExtension_HorizontalFieldOfView
] {
if let value = extensions.first(
where: { $0.key == key }
)?.value {
compressionProperties[key] = value
}
}
}
outputSettings[AVVideoCompressionPropertiesKey] = compressionProperties
}
let assetWriterInput = AVAssetWriterInput(
mediaType: .video,
outputSettings: outputSettings
)
assetWriterInput.transform = try await track.load(.preferredTransform)
assetWriterInput.expectsMediaDataInRealTime = false
return assetWriterInput
case .audio:
let assetWriterInput = AVAssetWriterInput(
mediaType: .audio,
outputSettings: nil,
sourceFormatHint: formatDescription
)
assetWriterInput.expectsMediaDataInRealTime = false
return assetWriterInput
default: return nil
"
7. While type-checking statement at [/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:280:13 - line:320:20] RangeText="var outputSettings: [String: Any] = [
AVVideoWidthKey: outputSize.width,
AVVideoHeightKey: outputSize.height,
AVVideoCodecKey: outputCodec ?? formatDescription?.videoCodecType ?? .hevc
]
if let colorPrimaries = formatDescription?.colorPrimaries,
let colorTransferFunction = formatDescription?.colorTransferFunction,
let colorYCbCrMatrix = formatDescription?.colorYCbCrMatrix {
outputSettings[AVVideoColorPropertiesKey] = [
AVVideoColorPrimariesKey: colorPrimaries,
AVVideoTransferFunctionKey: colorTransferFunction,
AVVideoYCbCrMatrixKey: colorYCbCrMatrix
]
}
if #available(macOS 14.0, iOS 17.0, *),
formatDescription?.hasLeftAndRightEye ?? false {
var compressionProperties: [CFString: Any] = [:]
compressionProperties[kVTCompressionPropertyKey_MVHEVCVideoLayerIDs] = [0, 1]
if let extensions = formatDescription?.extensions {
for key in [
kVTCompressionPropertyKey_HeroEye,
kVTCompressionPropertyKey_StereoCameraBaseline,
kVTCompressionPropertyKey_HorizontalDisparityAdjustment,
kCMFormatDescriptionExtension_HorizontalFieldOfView
] {
if let value = extensions.first(
where: { $0.key == key }
)?.value {
compressionProperties[key] = value
}
}
}
outputSettings[AVVideoCompressionPropertiesKey] = compressionProperties
}
let assetWriterInput = AVAssetWriterInput(
mediaType: .video,
outputSettings: outputSettings
)
assetWriterInput.transform = try await track.load(.preferredTransform)
assetWriterInput.expectsMediaDataInRealTime = false
return "
8. While type-checking declaration 0x55a787ffa180 (at /host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:280:13)
9. While type-checking expression at [/host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:280:49 - line:284:13] RangeText="[
AVVideoWidthKey: outputSize.width,
AVVideoHeightKey: outputSize.height,
AVVideoCodecKey: outputCodec ?? formatDescription?.videoCodecType ?? .hevc
"
10. While type-checking-target starting at /host/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:280:49
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055a783d72808
1 swift-frontend 0x000055a783d705ee
2 swift-frontend 0x000055a783d72ea8
3 libc.so.6 0x00007fcb643a8520
4 swift-frontend 0x000055a77f3c1d48
5 swift-frontend 0x000055a77f4b19ef
6 swift-frontend 0x000055a77f4e383b
7 swift-frontend 0x000055a77f4e9523
8 swift-frontend 0x000055a77f4e40fc
9 swift-frontend 0x000055a77f4e37c7
10 swift-frontend 0x000055a77f45b58c
11 swift-frontend 0x000055a77f45b41d
12 swift-frontend 0x000055a77f45a6aa
13 swift-frontend 0x000055a77f46718a
14 swift-frontend 0x000055a77ec53181
15 swift-frontend 0x000055a77ec46c6f
16 swift-frontend 0x000055a77ec459c2
17 swift-frontend 0x000055a77ec6b1ee
18 swift-frontend 0x000055a77ec50658
19 swift-frontend 0x000055a77ec3cd89
20 swift-frontend 0x000055a77ec6d535
21 swift-frontend 0x000055a77ec3f04b
22 swift-frontend 0x000055a77ede0bb8
23 swift-frontend 0x000055a77ef64e9b
24 swift-frontend 0x000055a77ef65ba0
25 swift-frontend 0x000055a77ec99005
26 swift-frontend 0x000055a77ec9be6f
27 swift-frontend 0x000055a77ec84330
28 swift-frontend 0x000055a77ed12590
29 swift-frontend 0x000055a77ec85b05
30 swift-frontend 0x000055a77eddf3e3
31 swift-frontend 0x000055a77eddf24d
32 swift-frontend 0x000055a77ede03f6
33 swift-frontend 0x000055a77ede05d8
34 swift-frontend 0x000055a77ee218fa
35 swift-frontend 0x000055a77ee20482
36 swift-frontend 0x000055a77eead6eb
37 swift-frontend 0x000055a77eeabc4c
38 swift-frontend 0x000055a77eeae37e
39 swift-frontend 0x000055a77eead5ac
40 swift-frontend 0x000055a77eeaa302
41 swift-frontend 0x000055a77eead6eb
42 swift-frontend 0x000055a77eeabc4c
43 swift-frontend 0x000055a77eeab593
44 swift-frontend 0x000055a77eeab110
45 swift-frontend 0x000055a77f3428b5
46 swift-frontend 0x000055a77f2bb873
47 swift-frontend 0x000055a77f3ebddc
48 swift-frontend 0x000055a77eee90b9
49 swift-frontend 0x000055a77eeead1e
50 swift-frontend 0x000055a77eee8fb5
51 swift-frontend 0x000055a77ddde1a9
52 swift-frontend 0x000055a77db3725a
53 swift-frontend 0x000055a77db36713
54 swift-frontend 0x000055a77d91386a
55 libc.so.6 0x00007fcb6438fd90
56 libc.so.6 0x00007fcb6438fe40 __libc_start_main + 128
57 swift-frontend 0x000055a77d912cc5
*** Signal 11: Backtracing from 0x55a77f3c1d48... done ***
*** Program crashed: Bad pointer dereference at 0xfffffffffffff008 ***
Thread 0 "swift-frontend" crashed:
0 0x000055a77f3c1d48 swift::GenericSignature::getGenericParams() const + 8 in swift-frontend
Registers:
rax 0xfffffffffffff000 18446744073709547520
rdx 0x00007ffcc25e1c08 c8 8a 69 88 a7 55 00 00 20 1c 5e c2 fc 7f 00 00 È·i·§U·· ·^Âü···
rcx 0x000055a78554f590 fa 6c f9 f9 fa 6c f9 f9 fa 6c f9 f9 fa 6c f9 f9 úlùùúlùùúlùùúlùù
rbx 0x0000000000000000 0
rsi 0x00007ffcc25e1828 00 f0 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 ·ðÿÿÿÿÿÿ········
rdi 0x000055a788028170 f0 3b 01 88 a7 55 00 00 29 04 00 00 00 00 00 00 ð;··§U··)·······
rbp 0x000055a788028170 f0 3b 01 88 a7 55 00 00 29 04 00 00 00 00 00 00 ð;··§U··)·······
rsp 0x00007ffcc25e1818 ef 19 4b 7f a7 55 00 00 40 9b 35 88 a7 55 00 00 ï·K·§U··@·5·§U··
r8 0x00007ffcc25e1bf8 90 1c 5e c2 fc 7f 00 00 a8 7e 69 88 a7 55 00 00 ··^Âü···¨~i·§U··
r9 0x00007ffcc25e1a90 00 00 00 00 a7 55 00 00 00 00 00 00 00 00 00 00 ····§U··········
r10 0x0000000000000001 1
r11 0x0000000000000000 0
r12 0x000055a788028170 f0 3b 01 88 a7 55 00 00 29 04 00 00 00 00 00 00 ð;··§U··)·······
r13 0x00007ffcc25e1c08 c8 8a 69 88 a7 55 00 00 20 1c 5e c2 fc 7f 00 00 È·i·§U·· ·^Âü···
r14 0x000055a788028170 f0 3b 01 88 a7 55 00 00 29 04 00 00 00 00 00 00 ð;··§U··)·······
r15 0x00007ffcc25e1ab8 00 00 00 00 a7 55 00 00 00 00 00 00 00 00 00 00 ····§U··········
rip 0x000055a77f3c1d48 8b 50 08 48 83 c0 28 c3 31 c0 31 d2 c3 66 66 2e ·P·H·À(Ã1À1ÒÃff.
rflags 0x0000000000010286 SF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (24 omitted):
0x000055a77d046000–0x000055a784c2e710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 1.41s
[10/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/37] Emitting module ArgumentParserToolInfo
[12/38] Wrapping AST for ArgumentParserToolInfo for debugging
[14/82] Compiling SwiftTUI Key.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[15/83] Compiling SwiftTUI Window.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[16/83] Compiling SwiftTUI Cursor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[17/83] Compiling SwiftTUI Termios.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[18/83] Compiling SwiftTUI ActivityIndicator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/83] Compiling SwiftTUI CommandLine.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[20/83] Emitting module SwiftTUI
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[21/83] Compiling ArgumentParser CollectionExtensions.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
[22/83] Compiling ArgumentParser Mutex.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
[23/83] Compiling ArgumentParser Platform.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
[24/83] Compiling ArgumentParser SequenceExtensions.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
[25/83] Compiling ArgumentParser StringExtensions.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
[26/83] Compiling ArgumentParser SwiftExtensions.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
[27/89] Compiling SwiftTUI ProgressBar.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[28/89] Compiling SwiftTUI String+ANSI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/10] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling SwiftTUI String+ANSI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[5/31] Compiling SwiftTUI Termios.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[6/32] Compiling Upscaling URL+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/32] Compiling Upscaling CVPixelBuffer+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[8/32] Compiling Upscaling MTLFXSpatialScaler+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[9/32] Compiling Upscaling Upscaler.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[10/32] Compiling Upscaling UpscalingFilter.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[11/32] Compiling Upscaling UpscalingImageProcessorKernel.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[12/32] Compiling Upscaling AVVideoCodecType+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[13/32] Compiling Upscaling CMFormatDescription+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[14/32] Compiling Upscaling MTLTexture+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[15/33] Compiling Upscaling MTLFXSpatialScalerDescriptor+Extensions.swift
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
[16/33] Emitting module Upscaling
/host/spi-builder-workspace/Sources/Upscaling/CoreImage/UpscalingFilter.swift:1:8: error: no such module 'CoreImage'
1 | import CoreImage
| `- error: no such module 'CoreImage'
2 | import Foundation
3 | #if canImport(MetalFX)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/33] Emitting module SwiftTUI
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[18/33] Compiling SwiftTUI ActivityIndicator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[19/33] Compiling SwiftTUI Window.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[20/33] Compiling SwiftTUI Key.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[21/33] Compiling SwiftTUI Cursor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[22/33] Compiling SwiftTUI ProgressBar.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[23/33] Compiling SwiftTUI CommandLine.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTUI/Sources/SwiftTUI/Termios.swift:1:8: error: no such module 'Darwin'
1 | import Darwin
| `- error: no such module 'Darwin'
2 | import Foundation
3 |
[24/33] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm