Build Information
Successful build of Prism with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GettEngineering/Prism.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/GettEngineering/Prism.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/18] Write sources
[1/18] Write prism-entitlement.plist
[1/18] Write sources
[8/18] Write swift-version-6F35C1178C84523A.txt
[9/61] Compiling reader.c
[10/61] Compiling parser.c
[11/61] Compiling api.c
[12/61] Compiling scanner.c
[13/61] Compiling emitter.c
[14/61] Compiling writer.c
[16/77] Emitting module ArgumentParser
[17/80] Compiling Yams YamlError.swift
[18/81] Compiling Yams shim.swift
[19/81] Compiling ArgumentParser Name.swift
[20/81] Compiling ArgumentParser Parsed.swift
[21/81] Compiling ArgumentParser ParsedValues.swift
[22/81] Compiling ArgumentParser Argument.swift
[23/81] Compiling ArgumentParser ArgumentHelp.swift
[24/81] Compiling ArgumentParser CompletionKind.swift
[25/81] Compiling ArgumentParser Errors.swift
[26/81] Compiling ArgumentParser ParserError.swift
[27/81] Compiling ArgumentParser SplitArguments.swift
[28/81] Compiling ArgumentParser HelpCommand.swift
[29/81] Compiling Yams Representer.swift
[30/81] Compiling Yams Resolver.swift
[31/81] Compiling ArgumentParser Option.swift
[32/81] Compiling ArgumentParser OptionGroup.swift
[33/81] Compiling Yams Node.Sequence.swift
[34/81] Compiling Yams Constructor.swift
[35/81] Compiling Yams Decoder.swift
[36/81] Compiling Yams Mark.swift
[37/81] Compiling Yams Emitter.swift
[38/81] Compiling Yams Encoder.swift
[39/81] Compiling Yams Node.Scalar.swift
[40/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/81] Compiling ArgumentParser ParsableCommand.swift
[42/81] Compiling ArgumentParser ArgumentDecoder.swift
[43/81] Compiling ArgumentParser ArgumentDefinition.swift
[44/81] Compiling ArgumentParser CommandConfiguration.swift
[45/81] Compiling ArgumentParser EnumerableFlag.swift
[46/81] Compiling ArgumentParser ExpressibleByArgument.swift
[47/81] Compiling ArgumentParser ParsableArguments.swift
[48/81] Compiling ArgumentParser SequenceExtensions.swift
[49/81] Compiling ArgumentParser StringExtensions.swift
[50/81] Compiling ArgumentParser Tree.swift
[51/81] Compiling ProviderCore Assets.swift
[52/81] Compiling Yams Tag.swift
[53/81] Compiling Yams String+Yams.swift
[54/81] Compiling ProviderCore TextStyle.swift
[55/81] Compiling ProviderCore Spacing.swift
[59/81] Compiling Yams Node.Mapping.swift
[60/81] Emitting module Yams
[67/81] Compiling Yams Node.swift
[68/81] Compiling Yams Parser.swift
[72/81] Compiling ProviderCore Color.swift
[73/81] Compiling ProviderCore Codable+Ext.swift
[74/81] Compiling ProviderCore Configuration.swift
[75/81] Compiling ProviderCore AssetProvider.swift
[76/81] Compiling ProviderCore UserInput.swift
[77/81] Emitting module ProviderCore
[78/81] Compiling ProviderCore AssetIdentity.swift
[79/110] Compiling FigmaSwift Paint.swift
[80/110] Compiling FigmaSwift Stroke.swift
[81/112] Compiling ZeplinSwift TextStyle.swift
[82/112] Compiling ZeplinSwift Color.swift
[83/112] Compiling ZeplinSwift Project.swift
[84/112] Compiling ZeplinSwift AssetOwner.swift
[85/112] Emitting module ZeplinSwift
[86/112] Compiling ZeplinSwift ZeplinAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Providers/ZeplinAPI/ZeplinAPI.swift:223: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
221 | do {
222 | let error = try APIError.decode(from: data)
223 | 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'
224 | } catch {
225 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
/Users/admin/builder/spi-builder-workspace/Sources/Providers/ZeplinAPI/ZeplinAPI.swift:226:72: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
224 | } catch {
225 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
226 | url: request.url?.absoluteString ?? "N/A",
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
227 | message: "\(error)")))
228 | }
[87/112] Compiling ZeplinSwift Styleguide.swift
[88/112] Compiling ZeplinSwift Spacing.swift
[89/112] Compiling FigmaSwift ArcData.swift
[90/112] Compiling FigmaSwift BooleanOperation.swift
[91/112] Compiling FigmaSwift Canvas.swift
[92/112] Compiling FigmaSwift Ellipse.swift
[93/112] Compiling FigmaSwift Metrics.swift
[94/112] Compiling FigmaSwift Node.swift
[95/112] Compiling FigmaSwift Frame.swift
[96/112] Compiling FigmaSwift Instance.swift
[97/112] Compiling FigmaSwift Text.swift
[98/112] Compiling FigmaSwift Vector.swift
[99/112] Compiling FigmaSwift Rectangle.swift
[100/112] Compiling FigmaSwift Slice.swift
[101/112] Compiling FigmaSwift File.swift
[102/112] Compiling FigmaSwift Hyperlink.swift
[103/112] Compiling FigmaSwift Layout.swift
[104/112] Compiling FigmaSwift FigmaAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:64:25: warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | do {
63 | let error = try APIError.decode(from: data)
64 | completion(.failure(.apiError(message: error.description)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.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'
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:67:72: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
67 | url: request.url?.absoluteString ?? "N/A",
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
68 | message: "\(error)")))
69 | }
[105/112] Compiling FigmaSwift Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:64:25: warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | do {
63 | let error = try APIError.decode(from: data)
64 | completion(.failure(.apiError(message: error.description)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.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'
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:67:72: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
67 | url: request.url?.absoluteString ?? "N/A",
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
68 | message: "\(error)")))
69 | }
[106/112] Compiling FigmaSwift Effect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:64:25: warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | do {
63 | let error = try APIError.decode(from: data)
64 | completion(.failure(.apiError(message: error.description)))
| |- warning: capture of 'completion' with non-sendable type '(Result<Model, FigmaAPI.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'
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
/Users/admin/builder/spi-builder-workspace/Sources/Providers/FigmaAPI/FigmaAPI.swift:67:72: warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
65 | } catch {
66 | completion(.failure(Error.unknownAPIError(statusCode: response.statusCode,
67 | url: request.url?.absoluteString ?? "N/A",
| `- warning: reference to captured var 'request' in concurrently-executing code; this is an error in the Swift 6 language mode
68 | message: "\(error)")))
69 | }
[107/112] Emitting module FigmaSwift
[108/112] Compiling FigmaSwift Style.swift
[109/112] Compiling FigmaSwift TypeStyle.swift
[110/128] Compiling PrismCore TemplateParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:343: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
341 | /// no identity / name, or while a color doesn't match from
342 | /// the project's colors
343 | 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
344 |
345 | /// One or more prohibited identities were used
/Users/admin/builder/spi-builder-workspace/Sources/Providers/ProviderCore/Models/TextStyle.swift:11:15: note: struct 'TextStyle' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct TextStyle: Equatable, AssetIdentifiable {
| `- note: struct 'TextStyle' does not conform to the 'Sendable' protocol
12 | public let name: String
13 | public let fontFamily: String
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProviderCore'
8 |
9 | import Foundation
10 | import ProviderCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProviderCore'
11 |
12 | /// Provides a mechanism to parse and process Prism-flavored
[111/129] Compiling PrismCore TemplateParser+Token.swift
[112/129] Compiling PrismCore Figma+Configuration.swift
[113/129] Compiling PrismCore Figma+Generate.swift
[114/129] Compiling PrismCore TemplateParser+Transformation.swift
[115/129] Compiling PrismCore Zeplin+Assets.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:14:1: warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
12 |
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
| |- warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:15:1: warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
| |- warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:16:1: warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:17:1: warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | extension ProviderCore.Color {
[116/129] Compiling PrismCore Zeplin+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:14:1: warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
12 |
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
| |- warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:15:1: warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
| |- warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:16:1: warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:17:1: warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | extension ProviderCore.Color {
[117/129] Compiling PrismCore Zeplin+Prism.swift
[118/129] Compiling PrismCore AssetProvider+Templates.swift
[119/129] Compiling PrismCore Zeplin+Generate.swift
[120/129] Compiling PrismCore Zeplin+Initialize.swift
[121/129] Compiling PrismCore Zeplin.swift
[122/129] Compiling PrismCore TemplateParser+Block.swift
[123/129] Compiling PrismCore Figma+Initialize.swift
[124/129] Compiling PrismCore Figma.swift
[125/129] Emitting module PrismCore
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:14:1: warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
12 |
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
| |- warning: extension declares a conformance of imported type 'Color' to imported protocols 'RawColorRepresentable', 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:15:1: warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
13 | // MARK: - Zeplin Model Conformances
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
| |- warning: extension declares a conformance of imported type 'RawColor' to imported protocol 'RawColorRepresentable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:16:1: warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
14 | extension ZeplinSwift.Color: RawColorRepresentable, AssetIdentifiable { }
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'TextStyle' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
18 |
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/Providers/Zeplin/Zeplin+Assets.swift:17:1: warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
15 | extension ZeplinSwift.RawColor: RawColorRepresentable {}
16 | extension ZeplinSwift.TextStyle: AssetIdentifiable {}
17 | extension ZeplinSwift.Spacing: AssetIdentifiable {}
| |- warning: extension declares a conformance of imported type 'Spacing' to imported protocol 'AssetIdentifiable'; this will not behave correctly if the owners of 'ZeplinSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | extension ProviderCore.Color {
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:343: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
341 | /// no identity / name, or while a color doesn't match from
342 | /// the project's colors
343 | 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
344 |
345 | /// One or more prohibited identities were used
/Users/admin/builder/spi-builder-workspace/Sources/Providers/ProviderCore/Models/TextStyle.swift:11:15: note: struct 'TextStyle' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct TextStyle: Equatable, AssetIdentifiable {
| `- note: struct 'TextStyle' does not conform to the 'Sendable' protocol
12 | public let name: String
13 | public let fontFamily: String
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/TemplateParser/TemplateParser.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProviderCore'
8 |
9 | import Foundation
10 | import ProviderCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ProviderCore'
11 |
12 | /// Provides a mechanism to parse and process Prism-flavored
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/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: annotate 'os_exit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[126/129] Compiling PrismCore Utils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/PrismCore/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: annotate 'os_exit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[127/134] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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",
[128/134] Compiling prism Commands+Initialize.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Commands+Initialize.swift:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: - Initialize command
17 | struct Initialize: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "init",
20 | abstract: "Bootstrap Prism for your project"
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Commands+Initialize.swift:135:1: warning: extension declares a conformance of imported type 'AssetProvider' to imported protocol 'InputOption'; this will not behave correctly if the owners of 'ProviderCore' introduce this conformance in the future
133 | }
134 |
135 | extension AssetProvider: InputOption {
| |- warning: extension declares a conformance of imported type 'AssetProvider' to imported protocol 'InputOption'; this will not behave correctly if the owners of 'ProviderCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public var aliases: [String] {
137 | return [rawValue]
[129/134] Compiling prism CommandError.swift
[130/134] 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 non-isolated 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 non-isolated 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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"
[131/134] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- 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:18:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: - Initialize command
17 | struct Initialize: ParsableCommand {
18 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | commandName: "init",
20 | abstract: "Bootstrap Prism for your project"
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Commands+Initialize.swift:135:1: warning: extension declares a conformance of imported type 'AssetProvider' to imported protocol 'InputOption'; this will not behave correctly if the owners of 'ProviderCore' introduce this conformance in the future
133 | }
134 |
135 | extension AssetProvider: InputOption {
| |- warning: extension declares a conformance of imported type 'AssetProvider' to imported protocol 'InputOption'; this will not behave correctly if the owners of 'ProviderCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public var aliases: [String] {
137 | return [rawValue]
[131/134] Write Objects.LinkFileList
[132/134] Linking prism
[133/134] Applying prism
Build complete! (61.45s)
Fetching https://github.com/BuzzFeed/MockDuck
[1/572] Fetching mockduck
Fetched https://github.com/BuzzFeed/MockDuck from cache (0.93s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/Quick/Quick
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1247] Fetching cwlpreconditiontesting
[151/1686] Fetching cwlpreconditiontesting, cwlcatchexception
[604/11023] Fetching cwlpreconditiontesting, cwlcatchexception, yams
[1688/22702] Fetching cwlpreconditiontesting, cwlcatchexception, yams, swift-argument-parser
[1969/37251] Fetching cwlpreconditiontesting, cwlcatchexception, yams, swift-argument-parser, quick
[2260/48500] Fetching cwlpreconditiontesting, cwlcatchexception, yams, swift-argument-parser, quick, swift-snapshot-testing
[26021/67140] Fetching cwlpreconditiontesting, cwlcatchexception, yams, swift-argument-parser, quick, swift-snapshot-testing, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.96s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.96s)
Fetched https://github.com/jpsim/Yams from cache (1.96s)
[29530/45685] Fetching cwlpreconditiontesting, quick, swift-snapshot-testing, nimble
Fetched https://github.com/Quick/Quick from cache (2.67s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.67s)
Fetched https://github.com/Quick/Nimble from cache (2.67s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.67s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (0.69s)
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.69s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.0.0 (0.69s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.68s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.70s)
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/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/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.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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.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
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
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" : "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"
}
Done.