Build Information
Successful build of Prism, reference 0.6.0 (580664
), with Swift 6.1 for Linux on 26 Apr 2025 03:45:09 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GettEngineering/Prism.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/GettEngineering/Prism
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 5806649 Windows: disable incremental linking
Cloned https://github.com/GettEngineering/Prism.git
Revision (git rev-parse @):
5806649b897fb0f3f0e1438a9b24f130d7785604
SUCCESS checkout https://github.com/GettEngineering/Prism.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
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" : "ZeplinAPI",
"targets" : [
"ZeplinAPI"
],
"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",
"UserInput.swift",
"Utils.swift",
"main.swift"
],
"target_dependencies" : [
"PrismCore"
],
"type" : "executable"
},
{
"c99name" : "ZeplinAPI",
"module_type" : "SwiftTarget",
"name" : "ZeplinAPI",
"path" : "Sources/ZeplinAPI",
"product_memberships" : [
"prism",
"PrismCore",
"ZeplinAPI"
],
"sources" : [
"Codable+Ext.swift",
"Models/Color.swift",
"Models/Project.swift",
"Models/Spacing.swift",
"Models/Styleguide.swift",
"Models/TextStyle.swift",
"ZeplinAPI.swift"
],
"type" : "library"
},
{
"c99name" : "PrismTests",
"module_type" : "SwiftTarget",
"name" : "PrismTests",
"path" : "Tests",
"product_dependencies" : [
"Quick",
"Nimble",
"MockDuck",
"Yams",
"SnapshotTesting"
],
"sources" : [
"AssetIdentitySpec.swift",
"AssetsSpec.swift",
"ColorSpec.swift",
"ConfigurationSpec.swift",
"Mocks/PrismMock.swift",
"TemplateParserSpec.swift",
"ZeplinAPISpec.swift"
],
"target_dependencies" : [
"prism"
],
"type" : "test"
},
{
"c99name" : "PrismCore",
"module_type" : "SwiftTarget",
"name" : "PrismCore",
"path" : "Sources/PrismCore",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"prism",
"PrismCore"
],
"sources" : [
"Models/AssetIdentity.swift",
"Models/Assets.swift",
"Models/Configuration.swift",
"Models/Zeplin+Prism.swift",
"Prism.swift",
"TemplateParser/TemplateParser+Block.swift",
"TemplateParser/TemplateParser+Token.swift",
"TemplateParser/TemplateParser+Transformation.swift",
"TemplateParser/TemplateParser.swift"
],
"target_dependencies" : [
"ZeplinAPI"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/BuzzFeed/MockDuck
[1/572] Fetching mockduck
Fetched https://github.com/BuzzFeed/MockDuck from cache (0.21s)
Fetching https://github.com/Quick/Quick
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/Quick/Nimble
[1/14755] Fetching quick
[2215/25044] Fetching quick, yams
[8838/44611] Fetching quick, yams, nimble
[28874/59548] Fetching quick, yams, nimble, swift-argument-parser
[29950/72707] Fetching quick, yams, nimble, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/apple/swift-argument-parser from cache (1.37s)
Fetched https://github.com/Quick/Quick from cache (1.37s)
[42884/43015] Fetching yams, nimble, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams from cache (1.40s)
Fetched https://github.com/Quick/Nimble from cache (1.85s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.89s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (2.35s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.21s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.46s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.46s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.46s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/74813] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.65s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.70s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.12s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.57s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.16s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.42s)
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
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.3
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/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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.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
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Building for debugging...
[0/21] Write sources
[6/21] Compiling writer.c
[7/21] Compiling parser.c
[8/21] Compiling api.c
[9/21] Compiling emitter.c
[10/21] Compiling scanner.c
[11/21] Compiling reader.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[14/46] Emitting module ArgumentParserToolInfo
[15/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/47] Compiling Yams Mark.swift
[17/47] Compiling Yams Node.Mapping.swift
[19/49] Compiling Yams Node.Scalar.swift
[20/49] Compiling Yams Node.Sequence.swift
[20/49] Wrapping AST for ArgumentParserToolInfo for debugging
[22/83] Compiling ArgumentParser ArgumentDefinition.swift
[23/83] Compiling ArgumentParser Option.swift
[24/83] Emitting module ArgumentParser
[25/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/87] Compiling ArgumentParser CompletionsGenerator.swift
[27/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/87] Compiling ArgumentParser Argument.swift
[30/87] Compiling ArgumentParser ArgumentHelp.swift
[31/87] Compiling ArgumentParser CompletionKind.swift
[32/87] Compiling ArgumentParser Errors.swift
[33/87] Compiling ArgumentParser Flag.swift
[34/87] Compiling ArgumentParser NameSpecification.swift
[35/87] Compiling ArgumentParser CollectionExtensions.swift
[36/87] Compiling ArgumentParser SequenceExtensions.swift
[37/87] Compiling ArgumentParser StringExtensions.swift
[38/87] Compiling ArgumentParser Tree.swift
[39/87] Compiling ArgumentParser ParsableArguments.swift
[40/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/87] Compiling ArgumentParser ParsableCommand.swift
[42/87] Compiling ArgumentParser ArgumentDecoder.swift
[45/87] Compiling ZeplinAPI TextStyle.swift
[46/87] Emitting module ZeplinAPI
[47/87] Compiling ZeplinAPI ZeplinAPI.swift
/host/spi-builder-workspace/Sources/ZeplinAPI/ZeplinAPI.swift:217:25: warning: capture of 'completion' with non-sendable type '(Result<Model, ZeplinAPI.Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
215 | do {
216 | let error = try APIError.decode(from: data)
217 | completion(.failure(.apiError(message: error.description)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Model, ZeplinAPI.Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | } catch {
219 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
[48/87] Compiling ZeplinAPI Styleguide.swift
[49/87] Compiling ZeplinAPI Spacing.swift
[50/87] Compiling ZeplinAPI Color.swift
[51/87] Compiling ZeplinAPI Project.swift
[52/87] Compiling ZeplinAPI Codable+Ext.swift
[55/88] Emitting module Yams
[59/89] Wrapping AST for ZeplinAPI for debugging
[60/89] Wrapping AST for Yams for debugging
[62/98] Compiling ArgumentParser ArgumentSet.swift
[63/98] Compiling ArgumentParser CommandParser.swift
[64/98] Compiling ArgumentParser InputOrigin.swift
[65/98] Compiling ArgumentParser Name.swift
[66/98] Compiling ArgumentParser Parsed.swift
[67/98] Compiling ArgumentParser ParsedValues.swift
[68/98] Compiling ArgumentParser ParserError.swift
[69/98] Compiling ArgumentParser SplitArguments.swift
[70/98] Compiling ArgumentParser DumpHelpGenerator.swift
[71/98] Compiling ArgumentParser HelpCommand.swift
[72/98] Compiling ArgumentParser HelpGenerator.swift
[73/98] Compiling ArgumentParser MessageInfo.swift
[74/98] Compiling ArgumentParser UsageGenerator.swift
[76/98] Compiling ArgumentParser OptionGroup.swift
[77/98] Compiling ArgumentParser CommandConfiguration.swift
[78/98] Compiling ArgumentParser EnumerableFlag.swift
[79/98] Compiling ArgumentParser ExpressibleByArgument.swift
[85/99] Compiling PrismCore Zeplin+Prism.swift
[86/99] Compiling PrismCore Prism.swift
[87/99] Compiling PrismCore Configuration.swift
[89/100] Compiling PrismCore TemplateParser+Transformation.swift
[90/100] Emitting module PrismCore
/host/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:341:14: warning: associated value 'missingColorForTextStyle' of 'Sendable'-conforming enum 'Error' has non-sendable type 'TextStyle'; this is an error in the Swift 6 language mode
339 | /// no identity / name, or while a color doesn't match from
340 | /// the project's colors
341 | case missingColorForTextStyle(TextStyle)
| `- warning: associated value 'missingColorForTextStyle' of 'Sendable'-conforming enum 'Error' has non-sendable type 'TextStyle'; this is an error in the Swift 6 language mode
342 |
343 | /// One or more prohibited identities were used
/host/spi-builder-workspace/Sources/ZeplinAPI/Models/TextStyle.swift:13:15: note: struct 'TextStyle' does not conform to the 'Sendable' protocol
11 | /// A Text Style containing a font face, font size, colors and
12 | /// more. It is an `Assetidentifiable` identified by its name.
13 | public struct TextStyle: Codable, Equatable {
| `- note: struct 'TextStyle' does not conform to the 'Sendable' protocol
14 | /// Text style ID
15 | public let id: String
/host/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeplinAPI'
8 |
9 | import Foundation
10 | import ZeplinAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeplinAPI'
11 |
12 | /// Provides a mechanism to parse and process Prism-flavored
[91/100] Compiling PrismCore AssetIdentity.swift
[92/100] Compiling PrismCore Assets.swift
[93/100] Compiling PrismCore TemplateParser+Block.swift
[94/100] Compiling PrismCore TemplateParser+Token.swift
[94/100] Wrapping AST for ArgumentParser for debugging
[96/100] Compiling PrismCore TemplateParser.swift
/host/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:341:14: warning: associated value 'missingColorForTextStyle' of 'Sendable'-conforming enum 'Error' has non-sendable type 'TextStyle'; this is an error in the Swift 6 language mode
339 | /// no identity / name, or while a color doesn't match from
340 | /// the project's colors
341 | case missingColorForTextStyle(TextStyle)
| `- warning: associated value 'missingColorForTextStyle' of 'Sendable'-conforming enum 'Error' has non-sendable type 'TextStyle'; this is an error in the Swift 6 language mode
342 |
343 | /// One or more prohibited identities were used
/host/spi-builder-workspace/Sources/ZeplinAPI/Models/TextStyle.swift:13:15: note: struct 'TextStyle' does not conform to the 'Sendable' protocol
11 | /// A Text Style containing a font face, font size, colors and
12 | /// more. It is an `Assetidentifiable` identified by its name.
13 | public struct TextStyle: Codable, Equatable {
| `- note: struct 'TextStyle' does not conform to the 'Sendable' protocol
14 | /// Text style ID
15 | public let id: String
/host/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeplinAPI'
8 |
9 | import Foundation
10 | import ZeplinAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ZeplinAPI'
11 |
12 | /// Provides a mechanism to parse and process Prism-flavored
[97/101] Wrapping AST for PrismCore for debugging
[99/108] Compiling prism main.swift
/host/spi-builder-workspace/Sources/CLI/main.swift:14:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct PrismCLI: ParsableCommand {
14 | static let configuration: CommandConfiguration = .init(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 | commandName: "prism",
16 | abstract: "🎨 A CLI to Generate platform-specific design code from Zeplin Projects",
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/CLI/main.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
9 | import PrismCore
10 | import Foundation
11 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 |
13 | struct PrismCLI: ParsableCommand {
14 | static let configuration: CommandConfiguration = .init(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | commandName: "prism",
16 | abstract: "🎨 A CLI to Generate platform-specific design code from Zeplin Projects",
[100/108] Compiling prism UserInput.swift
[101/108] Compiling prism Utils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/CLI/Utils.swift:11:5: warning: let 'os_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | let os_exit: (Int32) -> Never = Glibc.exit
| |- warning: let 'os_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'os_exit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #elseif os(Windows)
13 | import ucrt
[102/108] Compiling prism Commands+Initialize.swift
/host/spi-builder-workspace/Sources/CLI/Commands+Initialize.swift:17:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Initialize command
16 | struct Initialize: ParsableCommand {
17 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | commandName: "init",
19 | abstract: "Bootstrap Prism for your project"
[103/108] Compiling prism CommandError.swift
[104/108] Emitting module prism
/host/spi-builder-workspace/Sources/CLI/main.swift:14:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct PrismCLI: ParsableCommand {
14 | static let configuration: CommandConfiguration = .init(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 | commandName: "prism",
16 | abstract: "🎨 A CLI to Generate platform-specific design code from Zeplin Projects",
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/CLI/main.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
9 | import PrismCore
10 | import Foundation
11 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 |
13 | struct PrismCLI: ParsableCommand {
14 | static let configuration: CommandConfiguration = .init(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | commandName: "prism",
16 | abstract: "🎨 A CLI to Generate platform-specific design code from Zeplin Projects",
/host/spi-builder-workspace/Sources/CLI/Commands+Generate.swift:17:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Generate command
16 | struct Generate: ParsableCommand {
17 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | commandName: "generate",
19 | abstract: "Generate text style and colors definitions from a set of templates and store the resulting output to the provided paths"
/host/spi-builder-workspace/Sources/CLI/Commands+Initialize.swift:17:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Initialize command
16 | struct Initialize: ParsableCommand {
17 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | commandName: "init",
19 | abstract: "Bootstrap Prism for your project"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/CLI/Utils.swift:11:5: warning: let 'os_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if os(Linux)
10 | import Glibc
11 | let os_exit: (Int32) -> Never = Glibc.exit
| |- warning: let 'os_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'os_exit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #elseif os(Windows)
13 | import ucrt
[105/108] Compiling prism Commands+Generate.swift
/host/spi-builder-workspace/Sources/CLI/Commands+Generate.swift:17:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | // MARK: - Generate command
16 | struct Generate: ParsableCommand {
17 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | commandName: "generate",
19 | abstract: "Generate text style and colors definitions from a set of templates and store the resulting output to the provided paths"
[106/109] Wrapping AST for prism for debugging
[107/109] Write Objects.LinkFileList
[108/109] Linking prism
Build complete! (27.34s)
Build complete.
{
"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" : "ZeplinAPI",
"targets" : [
"ZeplinAPI"
],
"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",
"UserInput.swift",
"Utils.swift",
"main.swift"
],
"target_dependencies" : [
"PrismCore"
],
"type" : "executable"
},
{
"c99name" : "ZeplinAPI",
"module_type" : "SwiftTarget",
"name" : "ZeplinAPI",
"path" : "Sources/ZeplinAPI",
"product_memberships" : [
"prism",
"PrismCore",
"ZeplinAPI"
],
"sources" : [
"Codable+Ext.swift",
"Models/Color.swift",
"Models/Project.swift",
"Models/Spacing.swift",
"Models/Styleguide.swift",
"Models/TextStyle.swift",
"ZeplinAPI.swift"
],
"type" : "library"
},
{
"c99name" : "PrismTests",
"module_type" : "SwiftTarget",
"name" : "PrismTests",
"path" : "Tests",
"product_dependencies" : [
"Quick",
"Nimble",
"MockDuck",
"Yams",
"SnapshotTesting"
],
"sources" : [
"AssetIdentitySpec.swift",
"AssetsSpec.swift",
"ColorSpec.swift",
"ConfigurationSpec.swift",
"Mocks/PrismMock.swift",
"TemplateParserSpec.swift",
"ZeplinAPISpec.swift"
],
"target_dependencies" : [
"prism"
],
"type" : "test"
},
{
"c99name" : "PrismCore",
"module_type" : "SwiftTarget",
"name" : "PrismCore",
"path" : "Sources/PrismCore",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"prism",
"PrismCore"
],
"sources" : [
"Models/AssetIdentity.swift",
"Models/Assets.swift",
"Models/Configuration.swift",
"Models/Zeplin+Prism.swift",
"Prism.swift",
"TemplateParser/TemplateParser+Block.swift",
"TemplateParser/TemplateParser+Token.swift",
"TemplateParser/TemplateParser+Transformation.swift",
"TemplateParser/TemplateParser.swift"
],
"target_dependencies" : [
"ZeplinAPI"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.