Build Information
Successful build of Prism, reference 0.6.0 (580664
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 03:51:49 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/BuzzFeed/MockDuck
[1/572] Fetching mockduck
Fetched https://github.com/BuzzFeed/MockDuck from cache (0.67s)
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.54s)
[13/1257] Fetching cwlpreconditiontesting
[39/1712] Fetching cwlpreconditiontesting, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.73s)
[503/1257] Fetching cwlpreconditiontesting
[1258/16012] Fetching cwlpreconditiontesting, quick
[1554/35579] Fetching cwlpreconditiontesting, quick, nimble
Fetched https://github.com/jpsim/Yams from cache (1.41s)
Fetched https://github.com/Quick/Quick from cache (1.41s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.41s)
[3410/20824] Fetching cwlpreconditiontesting, nimble
Fetched https://github.com/Quick/Nimble from cache (1.93s)
Computing version for https://github.com/jpsim/Yams
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.93s)
Computed https://github.com/jpsim/Yams at 3.0.1 (2.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.2 (0.61s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.0.0 (0.57s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.58s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.58s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.58s)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.0.0
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.0.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.8.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "prism",
"name": "Prism",
"url": "https://github.com/GettEngineering/Prism.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Prism",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "3.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/GettEngineering/Prism.git
[1/2018] Fetching prism
Fetched https://github.com/GettEngineering/Prism.git from cache (1.53s)
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/jpsim/Yams from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.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.55s)
Creating working copy for https://github.com/GettEngineering/Prism.git
Working copy of https://github.com/GettEngineering/Prism.git resolved at 0.6.0 (5806649)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Found 2 product dependencies
- swift-argument-parser
- Yams
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/GettEngineering/Prism.git
https://github.com/GettEngineering/Prism.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/16] Write sources
[3/16] Write prism-entitlement.plist
[6/16] Write swift-version-2F0A5646E1D333AE.txt
[7/57] Compiling writer.c
[8/57] Compiling reader.c
[9/57] Compiling api.c
[10/57] Compiling parser.c
[11/57] Compiling emitter.c
[12/57] Compiling scanner.c
[14/73] Emitting module ArgumentParser
[15/76] Compiling ArgumentParser Name.swift
[16/76] Compiling ArgumentParser Parsed.swift
[17/76] Compiling ArgumentParser ParsedValues.swift
[18/76] Compiling ArgumentParser SequenceExtensions.swift
[19/76] Compiling ArgumentParser StringExtensions.swift
[20/76] Compiling ArgumentParser Tree.swift
[21/76] Compiling ArgumentParser ArgumentSet.swift
[22/76] Compiling ArgumentParser CommandParser.swift
[23/76] Compiling ArgumentParser InputOrigin.swift
[24/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/76] Compiling ArgumentParser ParsableCommand.swift
[26/76] Compiling ArgumentParser ArgumentDecoder.swift
[27/76] Compiling ArgumentParser ArgumentDefinition.swift
[28/76] Compiling Yams YamlError.swift
[29/77] Compiling Yams shim.swift
[30/77] Compiling Yams Representer.swift
[31/77] Compiling Yams Resolver.swift
[32/77] Compiling Yams Node.Scalar.swift
[33/77] Compiling Yams Node.Sequence.swift
[34/77] Compiling Yams Node.swift
[35/77] Compiling Yams Parser.swift
[36/77] Compiling Yams Emitter.swift
[37/77] Compiling Yams Encoder.swift
[38/77] Compiling ArgumentParser CommandConfiguration.swift
[39/77] Compiling ArgumentParser EnumerableFlag.swift
[40/77] Compiling ArgumentParser ExpressibleByArgument.swift
[41/77] Compiling ArgumentParser ParsableArguments.swift
[42/77] Compiling Yams Mark.swift
[43/77] Compiling Yams Node.Mapping.swift
[44/77] Compiling Yams Constructor.swift
[45/77] Compiling Yams Decoder.swift
[46/77] Compiling ZeplinAPI ZeplinAPI.swift
/Users/admin/builder/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
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | } catch {
219 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
[47/77] Compiling ZeplinAPI Spacing.swift
[58/77] Compiling Yams Tag.swift
[59/77] Compiling Yams String+Yams.swift
[60/77] Emitting module Yams
[63/77] Compiling ArgumentParser ParserError.swift
[64/77] Compiling ArgumentParser SplitArguments.swift
[65/77] Compiling ArgumentParser HelpCommand.swift
[66/77] Compiling ArgumentParser HelpGenerator.swift
[67/77] Compiling ArgumentParser MessageInfo.swift
[68/77] Compiling ArgumentParser UsageGenerator.swift
[69/77] Compiling ZeplinAPI Project.swift
[70/77] Compiling ZeplinAPI Color.swift
[71/77] Compiling ZeplinAPI TextStyle.swift
[72/77] Emitting module ZeplinAPI
[73/77] Compiling ZeplinAPI Styleguide.swift
[74/77] Compiling ZeplinAPI Codable+Ext.swift
[75/87] Compiling PrismCore TemplateParser+Block.swift
[76/87] Compiling PrismCore Prism.swift
[77/87] Compiling PrismCore Configuration.swift
[78/87] Compiling PrismCore TemplateParser+Token.swift
[79/87] Compiling PrismCore Zeplin+Prism.swift
[80/87] Compiling PrismCore TemplateParser+Transformation.swift
[81/87] Compiling PrismCore Assets.swift
[82/87] Compiling PrismCore AssetIdentity.swift
[83/87] Compiling PrismCore TemplateParser.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[84/87] Emitting module PrismCore
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[85/94] Compiling prism main.swift
/Users/admin/builder/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",
/Users/admin/builder/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 | ///
/Users/admin/builder/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",
[86/94] Compiling prism Utils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Utils.swift:17: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
15 | #else
16 | import Darwin
17 | let os_exit: (Int32) -> Never = Darwin.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
18 | #endif
19 |
[87/94] Compiling prism Commands+Initialize.swift
/Users/admin/builder/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"
[88/94] Compiling prism UserInput.swift
[89/94] Emitting module prism
/Users/admin/builder/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",
/Users/admin/builder/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 | ///
/Users/admin/builder/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",
/Users/admin/builder/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"
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Utils.swift:17: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
15 | #else
16 | import Darwin
17 | let os_exit: (Int32) -> Never = Darwin.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
18 | #endif
19 |
[90/94] Compiling prism CommandError.swift
[91/94] Compiling prism Commands+Generate.swift
/Users/admin/builder/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"
[91/94] Write Objects.LinkFileList
[92/94] Linking prism
[93/94] Applying prism
Build complete! (11.95s)
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" : "/Users/admin/builder/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"
}
Done.