Build Information
Failed to build Prism, reference main (f8d985
), with Swift 6.1 for Wasm on 27 May 2025 20:36:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/GettEngineering/Prism.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/GettEngineering/Prism
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f8d9855 Prism binary build
Cloned https://github.com/GettEngineering/Prism.git
Revision (git rev-parse @):
f8d98551806be0b47a873da8170dbf0cc7d97ada
SUCCESS checkout https://github.com/GettEngineering/Prism.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/GettEngineering/Prism.git
https://github.com/GettEngineering/Prism.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
},
{
"identity" : "mockduck",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/BuzzFeed/MockDuck"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
}
],
"manifest_display_name" : "Prism",
"name" : "Prism",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "prism",
"targets" : [
"prism"
],
"type" : {
"executable" : null
}
},
{
"name" : "PrismCore",
"targets" : [
"PrismCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ZeplinSwift",
"targets" : [
"ZeplinSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FigmaSwift",
"targets" : [
"FigmaSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "prism",
"module_type" : "SwiftTarget",
"name" : "prism",
"path" : "Sources/CLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"prism"
],
"sources" : [
"CommandError.swift",
"Commands+Generate.swift",
"Commands+Initialize.swift",
"main.swift"
],
"target_dependencies" : [
"PrismCore"
],
"type" : "executable"
},
{
"c99name" : "ZeplinSwift",
"module_type" : "SwiftTarget",
"name" : "ZeplinSwift",
"path" : "Sources/Providers/ZeplinAPI",
"product_memberships" : [
"prism",
"PrismCore",
"ZeplinSwift"
],
"sources" : [
"Models/AssetOwner.swift",
"Models/Color.swift",
"Models/Project.swift",
"Models/Spacing.swift",
"Models/Styleguide.swift",
"Models/TextStyle.swift",
"ZeplinAPI.swift"
],
"target_dependencies" : [
"ProviderCore"
],
"type" : "library"
},
{
"c99name" : "ProviderCore",
"module_type" : "SwiftTarget",
"name" : "ProviderCore",
"path" : "Sources/Providers/ProviderCore",
"product_memberships" : [
"prism",
"PrismCore",
"ZeplinSwift",
"FigmaSwift"
],
"sources" : [
"AssetProvider.swift",
"Configuration.swift",
"Helpers/Codable+Ext.swift",
"Helpers/UserInput.swift",
"Models/AssetIdentity.swift",
"Models/Assets.swift",
"Models/Color.swift",
"Models/Spacing.swift",
"Models/TextStyle.swift"
],
"type" : "library"
},
{
"c99name" : "PrismCore",
"module_type" : "SwiftTarget",
"name" : "PrismCore",
"path" : "Sources/PrismCore",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"prism",
"PrismCore"
],
"sources" : [
"Models/Zeplin+Prism.swift",
"Providers/AssetProvider+Templates.swift",
"Providers/Figma/Figma+Configuration.swift",
"Providers/Figma/Figma+Generate.swift",
"Providers/Figma/Figma+Initialize.swift",
"Providers/Figma/Figma.swift",
"Providers/Zeplin/Zeplin+Assets.swift",
"Providers/Zeplin/Zeplin+Configuration.swift",
"Providers/Zeplin/Zeplin+Generate.swift",
"Providers/Zeplin/Zeplin+Initialize.swift",
"Providers/Zeplin/Zeplin.swift",
"TemplateParser/TemplateParser+Block.swift",
"TemplateParser/TemplateParser+Token.swift",
"TemplateParser/TemplateParser+Transformation.swift",
"TemplateParser/TemplateParser.swift",
"Utils.swift"
],
"target_dependencies" : [
"ZeplinSwift",
"FigmaSwift"
],
"type" : "library"
},
{
"c99name" : "FigmaSwift",
"module_type" : "SwiftTarget",
"name" : "FigmaSwift",
"path" : "Sources/Providers/FigmaAPI",
"product_memberships" : [
"prism",
"PrismCore",
"FigmaSwift"
],
"sources" : [
"FigmaAPI.swift",
"Models/Color.swift",
"Models/Effect.swift",
"Models/File.swift",
"Models/Hyperlink.swift",
"Models/Layout.swift",
"Models/Metrics.swift",
"Models/Node.swift",
"Models/Nodes/ArcData.swift",
"Models/Nodes/BooleanOperation.swift",
"Models/Nodes/Canvas.swift",
"Models/Nodes/Ellipse.swift",
"Models/Nodes/Frame.swift",
"Models/Nodes/Instance.swift",
"Models/Nodes/Rectangle.swift",
"Models/Nodes/Slice.swift",
"Models/Nodes/Text.swift",
"Models/Nodes/Vector.swift",
"Models/Paint.swift",
"Models/Stroke.swift",
"Models/Style.swift",
"Models/TypeStyle.swift"
],
"target_dependencies" : [
"ProviderCore"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/BuzzFeed/MockDuck
[1/572] Fetching mockduck
Fetched https://github.com/BuzzFeed/MockDuck from cache (0.36s)
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/Quick/Quick
[1/14755] Fetching quick
[3985/25412] Fetching quick, yams
[12109/44996] Fetching quick, yams, nimble
[16747/58178] Fetching quick, yams, nimble, swift-snapshot-testing
Fetched https://github.com/Quick/Quick from cache (2.58s)
[36569/43423] Fetching yams, nimble, swift-snapshot-testing
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/Quick/Nimble from cache (3.01s)
[23312/23839] Fetching yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams from cache (3.43s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.46s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.07s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (6.46s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.61s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.49s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (1.19s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.62s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.78s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.66s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/75025] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.82s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.89s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.64s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.62s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.66s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/BuzzFeed/MockDuck
Working copy of https://github.com/BuzzFeed/MockDuck resolved at master (ce0189d)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.1.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
warning: 'spi-builder-workspace': dependency 'quick' is not used by any target
warning: 'spi-builder-workspace': dependency 'nimble' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snapshot-testing' is not used by any target
warning: 'spi-builder-workspace': dependency 'mockduck' is not used by any target
Building for debugging...
[0/25] Write sources
[8/25] Compiling reader.c
[9/25] Compiling writer.c
[10/25] Compiling parser.c
[11/25] Compiling api.c
[12/25] Compiling emitter.c
[13/25] Write swift-version-24593BA9C3E375BF.txt
[14/34] Compiling scanner.c
[16/51] Emitting module ArgumentParserToolInfo
[17/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/52] Compiling ProviderCore UserInput.swift
[19/53] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/87] 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 |
[22/91] Compiling ProviderCore Spacing.swift
[23/91] Compiling ProviderCore TextStyle.swift
[24/91] Compiling ArgumentParser CollectionExtensions.swift
[25/91] Compiling ArgumentParser SequenceExtensions.swift
[26/91] Compiling ArgumentParser StringExtensions.swift
[27/91] Compiling ArgumentParser Tree.swift
[28/91] Compiling ProviderCore Assets.swift
[29/91] 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 |
[30/91] 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 |
[31/91] 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 |
[32/91] 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 |
[33/91] Compiling ProviderCore AssetIdentity.swift
[34/91] Compiling ProviderCore Color.swift
[35/91] Compiling ArgumentParser Option.swift
[36/91] Compiling ArgumentParser OptionGroup.swift
[37/91] Compiling ProviderCore Codable+Ext.swift
[38/91] Emitting module ProviderCore
[41/92] Compiling ArgumentParser CommandConfiguration.swift
[42/92] Compiling ArgumentParser EnumerableFlag.swift
[43/92] Compiling ArgumentParser ExpressibleByArgument.swift
[46/92] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[47/92] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[48/92] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/94] Compiling ArgumentParser CompletionKind.swift
[51/94] Compiling ArgumentParser Errors.swift
[53/94] Compiling ArgumentParser ArgumentHelp.swift
[54/94] Compiling ArgumentParser Flag.swift
[55/94] Compiling ArgumentParser NameSpecification.swift
[56/94] Emitting module Yams
[59/94] Compiling ArgumentParser ParsedValues.swift
[60/94] Compiling ArgumentParser ParserError.swift
[61/94] Compiling ArgumentParser SplitArguments.swift
[62/94] Compiling ArgumentParser DumpHelpGenerator.swift
[64/94] Compiling ArgumentParser ArgumentSet.swift
[65/94] Compiling ArgumentParser CommandParser.swift
[66/94] Compiling ArgumentParser InputOrigin.swift
[67/94] Compiling ArgumentParser Name.swift
[68/94] Compiling ArgumentParser Parsed.swift
[69/94] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 | ) -> Never {
184 | guard let error = error else {
185 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
186 | }
187 |
/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 Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 | }
196 | }
197 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
198 | }
199 |
[70/94] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 | ) -> Never {
184 | guard let error = error else {
185 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
186 | }
187 |
/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 Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 | }
196 | }
197 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
198 | }
199 |
[71/94] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 | ) -> Never {
184 | guard let error = error else {
185 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
186 | }
187 |
/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 Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 | }
196 | }
197 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
198 | }
199 |
[72/94] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 | ) -> Never {
184 | guard let error = error else {
185 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
186 | }
187 |
/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 Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 | }
196 | }
197 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
198 | }
199 |
[73/94] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:31: error: cannot find 'putc' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:55: error: cannot find 'stderr' in scope
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
64 | }
65 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:63:36: error: generic parameter 'U' could not be inferred
61 | struct StandardError: TextOutputStream {
62 | mutating func write(_ string: String) {
63 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
64 | }
65 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableArguments.swift:185:7: error: cannot find '_exit' in scope
183 | ) -> Never {
184 | guard let error = error else {
185 | _exit(ExitCode.success.rawValue)
| `- error: cannot find '_exit' in scope
186 | }
187 |
/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 Types/ParsableArguments.swift:197:5: error: cannot find '_exit' in scope
195 | }
196 | }
197 | _exit(messageInfo.exitCode.rawValue)
| `- error: cannot find '_exit' in scope
198 | }
199 |
/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 |
/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 |
/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 |
/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 |
/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 |
/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 ?? ""))
/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 ?? ""))
/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 ?? ""))
/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 ?? ""))
[83/94] Compiling Yams YamlError.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 ?? ""))
[83/94] Wrapping AST for ProviderCore for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'spi-builder-workspace': dependency 'quick' is not used by any target
warning: 'spi-builder-workspace': dependency 'nimble' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snapshot-testing' is not used by any target
warning: 'spi-builder-workspace': dependency 'mockduck' is not used by any target
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/37] Emitting module ProviderCore
[3/38] Compiling ProviderCore TextStyle.swift
[4/38] Compiling ProviderCore Spacing.swift
[5/38] Compiling ProviderCore Assets.swift
[6/38] Compiling ProviderCore Color.swift
[7/38] Compiling Yams Constructor.swift
[8/38] Compiling Yams Decoder.swift
[9/38] Compiling ProviderCore Codable+Ext.swift
[10/38] Compiling ProviderCore UserInput.swift
[11/38] Compiling ProviderCore AssetIdentity.swift
[12/39] Compiling Yams String+Yams.swift
[13/39] Compiling Yams Tag.swift
[14/39] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[15/39] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[17/41] Compiling Yams Node.Scalar.swift
[18/41] Compiling Yams Node.Sequence.swift
[18/41] Wrapping AST for ProviderCore for debugging
[20/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/70] Emitting module ArgumentParserToolInfo
[22/71] Compiling FigmaSwift Layout.swift
[23/71] Compiling FigmaSwift Metrics.swift
[24/71] Compiling FigmaSwift File.swift
[25/71] Compiling FigmaSwift Hyperlink.swift
[26/71] Compiling FigmaSwift Rectangle.swift
[27/71] Compiling FigmaSwift Slice.swift
[29/71] Compiling ZeplinSwift ZeplinAPI.swift
/host/spi-builder-workspace/Sources/Providers/ZeplinAPI/ZeplinAPI.swift:213:23: error: cannot find 'URLRequest' in scope
211 | completion: @escaping (Result<Model, Error>) -> Void) {
212 | let apiURL = Self.baseURL.absoluteString + path
213 | var request = URLRequest(url: URL(string: apiURL)!)
| `- error: cannot find 'URLRequest' in scope
214 | request.addValue("Bearer \(jwtToken)", forHTTPHeaderField: "Authorization")
215 |
/host/spi-builder-workspace/Sources/Providers/ZeplinAPI/ZeplinAPI.swift:216:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
214 | request.addValue("Bearer \(jwtToken)", forHTTPHeaderField: "Authorization")
215 |
216 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
217 | .dataTask(with: request) { data, response, _ in
218 | if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/Providers/ZeplinAPI/ZeplinAPI.swift:220:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
218 | if let response = response as? HTTPURLResponse,
219 | let data = data,
220 | !(200...299 ~= response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
221 | do {
222 | let error = try APIError.decode(from: data)
[30/70] Compiling ZeplinSwift Project.swift
[31/70] Compiling ZeplinSwift Spacing.swift
[32/70] Compiling ZeplinSwift Styleguide.swift
[33/70] Compiling ZeplinSwift AssetOwner.swift
[34/70] Compiling ZeplinSwift Color.swift
[35/70] Emitting module ZeplinSwift
[36/70] Compiling FigmaSwift Effect.swift
[37/70] Compiling FigmaSwift BooleanOperation.swift
[38/70] Compiling ZeplinSwift TextStyle.swift
[39/70] Compiling FigmaSwift Paint.swift
[40/70] Compiling FigmaSwift Stroke.swift
[42/72] Compiling FigmaSwift Canvas.swift
[43/72] Compiling FigmaSwift Ellipse.swift
[48/72] Compiling FigmaSwift Node.swift
[49/72] Compiling FigmaSwift ArcData.swift
[50/72] Compiling FigmaSwift FigmaAPI.swift
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:54:23: error: cannot find 'URLRequest' in scope
52 | ) {
53 | let apiURL = Self.baseURL.appendingPathComponent(path)
54 | var request = URLRequest(url: apiURL)
| `- error: cannot find 'URLRequest' in scope
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:57:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
57 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 | .dataTask(with: request) { data, response, _ in
59 | if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:61:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | if let response = response as? HTTPURLResponse,
60 | let data = data,
61 | !(200...299 ~= response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 | do {
63 | let error = try APIError.decode(from: data)
[51/72] Compiling FigmaSwift Color.swift
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:54:23: error: cannot find 'URLRequest' in scope
52 | ) {
53 | let apiURL = Self.baseURL.appendingPathComponent(path)
54 | var request = URLRequest(url: apiURL)
| `- error: cannot find 'URLRequest' in scope
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:57:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
57 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 | .dataTask(with: request) { data, response, _ in
59 | if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:61:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | if let response = response as? HTTPURLResponse,
60 | let data = data,
61 | !(200...299 ~= response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 | do {
63 | let error = try APIError.decode(from: data)
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:54:23: error: cannot find 'URLRequest' in scope
52 | ) {
53 | let apiURL = Self.baseURL.appendingPathComponent(path)
54 | var request = URLRequest(url: apiURL)
| `- error: cannot find 'URLRequest' in scope
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:57:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
55 | request.addValue(accessToken, forHTTPHeaderField: "X-Figma-Token")
56 |
57 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
58 | .dataTask(with: request) { data, response, _ in
59 | if let response = response as? HTTPURLResponse,
/host/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:61:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 | if let response = response as? HTTPURLResponse,
60 | let data = data,
61 | !(200...299 ~= response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 | do {
63 | let error = try APIError.decode(from: data)
[53/72] Emitting module FigmaSwift
[54/106] Emitting module Yams
BUILD FAILURE 6.1 wasm