Build Information
Failed to build AppIcon, reference master (ddc466
), with Swift 6.1 for Wasm on 28 May 2025 12:16:53 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonchalant/appicon.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/nonchalant/appicon
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ddc4662 Merge pull request #83 from Nonchalant/remove-unused-options
Cloned https://github.com/nonchalant/appicon.git
Revision (git rev-parse @):
ddc4662a854dbd3f6f6b2159c914d90d2dfbbf51
SUCCESS checkout https://github.com/nonchalant/appicon.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nonchalant/appicon.git
https://github.com/nonchalant/appicon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell.git"
},
{
"identity" : "tablier",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/akkyie/Tablier"
}
],
"manifest_display_name" : "AppIcon",
"name" : "AppIcon",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AppIcon",
"targets" : [
"AppIcon"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "AppIconTests",
"module_type" : "SwiftTarget",
"name" : "AppIconTests",
"path" : "Tests/AppIconTests",
"product_dependencies" : [
"Tablier"
],
"sources" : [
"AppIconTests.swift"
],
"target_dependencies" : [
"AppIconCore"
],
"type" : "test"
},
{
"c99name" : "AppIconCore",
"module_type" : "SwiftTarget",
"name" : "AppIconCore",
"path" : "Sources/AppIconCore",
"product_dependencies" : [
"ArgumentParser",
"SwiftShell"
],
"product_memberships" : [
"AppIcon"
],
"sources" : [
"Command/Command.swift",
"Data/Icon/AppIcon.swift",
"Data/Icon/AppIconSet.swift",
"Data/Icon/IosAppIconSet.swift",
"Data/Icon/MacAppIconSet.swift",
"Data/Icon/Scale.swift",
"Data/Icon/WatchAppIconSet.swift",
"Data/Json/ContentsJson.swift",
"Data/Platform.swift",
"Error/LocalError.swift",
"Extractor/ImageExtractor.swift",
"Extractor/JsonExtractor.swift"
],
"type" : "library"
},
{
"c99name" : "AppIcon",
"module_type" : "SwiftTarget",
"name" : "AppIcon",
"path" : "Sources/AppIcon",
"product_memberships" : [
"AppIcon"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AppIconCore"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/akkyie/Tablier
[1/4863] Fetching swiftshell
[536/5579] Fetching swiftshell, tablier
[5580/20930] Fetching swiftshell, tablier, swift-argument-parser
Fetched https://github.com/akkyie/Tablier from cache (1.28s)
Fetched https://github.com/kareman/SwiftShell.git from cache (1.74s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.75s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (2.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.65s)
Computing version for https://github.com/akkyie/Tablier
Computed https://github.com/akkyie/Tablier at 0.5.2 (0.74s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/akkyie/Tablier
Working copy of https://github.com/akkyie/Tablier resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/24] Emitting module ArgumentParserToolInfo
[8/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/25] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/59] Emitting module ArgumentParser
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[12/63] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[13/63] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[14/63] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[15/63] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[16/63] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift:49:26: error: cannot find 'getenv' in scope
47 | #else
48 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
49 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
50 | let shellParts = String(cString: shellVar).split(separator: "/")
51 | return CompletionShell(rawValue: String(shellParts.last ?? ""))
[17/63] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[18/63] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[19/63] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[20/63] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[21/63] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
62 |
63 | /// An exit code that indicates that the command failed.
64 | public static let failure = ExitCode(EXIT_FAILURE)
| `- error: cannot find 'EXIT_FAILURE' in scope
65 |
66 | /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[22/63] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[23/63] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[24/64] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[25/64] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/64] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[29/64] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[30/64] Compiling SwiftShell Context.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[31/64] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[32/64] Compiling ArgumentParser HelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[33/64] Compiling ArgumentParser MessageInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[34/64] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:358:11: error: cannot find 'winsize' in scope
356 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
357 | #else
358 | var w = winsize()
| `- error: cannot find 'winsize' in scope
359 | #if os(OpenBSD)
360 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:13: error: cannot find 'ioctl' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:19: error: cannot find 'STDOUT_FILENO' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift:364:34: error: cannot find 'TIOCGWINSZ' in scope
362 | let err = ioctl(STDOUT_FILENO, tiocgwinsz, &w)
363 | #else
364 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
365 | #endif
366 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
59 |
60 | /// An exit code that indicates successful completion of a command.
61 | public static let success = ExitCode(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
62 |
63 | /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
68 | public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
69 | #else
70 | public static let validationFailure = ExitCode(EX_USAGE)
| `- error: cannot find 'EX_USAGE' in scope
71 | #endif
72 |
[35/64] Compiling ArgumentParser CollectionExtensions.swift
[36/64] Compiling ArgumentParser SequenceExtensions.swift
[37/64] Compiling ArgumentParser StringExtensions.swift
[38/64] Compiling ArgumentParser Tree.swift
[39/64] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[40/64] Compiling ArgumentParser Option.swift
[41/64] Compiling ArgumentParser OptionGroup.swift
[42/64] Compiling ArgumentParser CommandConfiguration.swift
[43/64] Compiling ArgumentParser EnumerableFlag.swift
[44/64] Compiling ArgumentParser ExpressibleByArgument.swift
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: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/8] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[3/20] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[4/20] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[5/20] Compiling SwiftShell Context.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[6/20] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[7/20] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/20] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[9/20] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[10/20] Compiling SwiftShell Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[11/20] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
6 | */
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import Foundation
10 |
[12/20] Emitting module ArgumentParserToolInfo
[13/20] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 wasm