Build Information
Successful build of Csv2Img, reference main (5a4e7f
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 07:52:31 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/csv2img.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/csv2img
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5a4e7f1 Bump up build number.
Cloned https://github.com/fummicc1/csv2img.git
Revision (git rev-parse @):
5a4e7f1a634c7d25df5b030fa2e2ff365e8ab537
SUCCESS checkout https://github.com/fummicc1/csv2img.git at main
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2038] Fetching swift-docc-plugin
[226/5191] Fetching swift-docc-plugin, swift-docc-symbolkit
[542/17549] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-argument-parser
[17550/83909] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-argument-parser, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.39s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.39s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.39s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (3.39s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (3.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
========================================
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": "csv2img",
"name": "Csv2Img",
"url": "https://github.com/fummicc1/csv2img.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/csv2img",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "510.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/fummicc1/csv2img.git
[1/6335] Fetching csv2img
Fetched https://github.com/fummicc1/csv2img.git from cache (15.07s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.85s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.65s)
Creating working copy for https://github.com/fummicc1/csv2img.git
Working copy of https://github.com/fummicc1/csv2img.git resolved at main (5a4e7f1)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
Found 2 product dependencies
- swift-argument-parser
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/fummicc1/csv2img.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/16] Write sources
[9/16] Write Csv2ImgCmd-entitlement.plist
[12/16] Write swift-version--7754E27361AE5C74.txt
[14/38] Compiling SwiftSyntax510 Empty.swift
[15/38] Emitting module SwiftSyntax510
[16/38] Emitting module SwiftSyntax509
[17/38] Compiling SwiftSyntax509 Empty.swift
[18/97] Emitting module ArgumentParserToolInfo
[19/97] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/137] Compiling ArgumentParser CompletionsGenerator.swift
[22/137] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/137] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/137] Compiling ArgumentParser Argument.swift
[25/137] Compiling ArgumentParser ArgumentHelp.swift
[26/137] Compiling ArgumentParser ArgumentVisibility.swift
[31/146] Compiling ArgumentParser OptionGroup.swift
[32/146] Compiling ArgumentParser AsyncParsableCommand.swift
[33/146] Compiling ArgumentParser CommandConfiguration.swift
[34/146] Compiling ArgumentParser EnumerableFlag.swift
[35/146] Emitting module ArgumentParser
[39/146] Compiling ArgumentParser CompletionKind.swift
[40/146] Compiling ArgumentParser ExpressibleByArgument.swift
[41/146] Compiling ArgumentParser ParsableArguments.swift
[42/146] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/146] Compiling ArgumentParser ParsableCommand.swift
[44/146] Compiling SwiftSyntax SourceLocation.swift
[45/146] Compiling SwiftSyntax SourcePresence.swift
[46/146] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[47/146] Compiling SwiftSyntax Syntax.swift
[48/146] Compiling SwiftSyntax SyntaxArena.swift
[49/146] Compiling SwiftSyntax SyntaxChildren.swift
[50/146] Compiling SwiftSyntax SyntaxCollection.swift
[51/146] Compiling ArgumentParser SequenceExtensions.swift
[52/146] Compiling ArgumentParser StringExtensions.swift
[53/146] Compiling ArgumentParser Tree.swift
[56/147] Compiling Csv2ImgCore String+Ex.swift
[57/147] Compiling Csv2ImgCore TypeConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/TypeConvertible.swift:25:1: warning: extension declares a conformance of imported type 'PDFDocument' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'PDFKit' introduce this conformance in the future
23 |
24 | }
25 | extension PDFDocument: @unchecked Sendable {
| |- warning: extension declares a conformance of imported type 'PDFDocument' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'PDFKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | }
27 | extension PDFDocument: CsvExportable {
[58/147] Emitting module Csv2ImgCore
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:20:10: warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
18 | /// Failed to get current `CGContext`
19 | case noContextAvailable
20 | case failedCreateImage(
| `- warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
21 | CGContext
22 | )
CoreGraphics.CGContext:1:14: note: class 'CGContext' does not conform to the 'Sendable' protocol
1 | public class CGContext : _CFObject {
| `- note: class 'CGContext' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
1 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
2 | import CoreText
3 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:48:9: warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
46 | }
47 |
48 | var maximumRowCount: Int?
| `- warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
49 |
50 | var fontSize: Double
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:44:22: warning: stored property 'fontSize' of 'Sendable'-conforming class 'PdfMaker' is mutable; this is an error in the Swift 6 language mode
42 |
43 | let maximumRowCount: Int?
44 | private(set) var fontSize: Double
| `- warning: stored property 'fontSize' of 'Sendable'-conforming class 'PdfMaker' is mutable; this is an error in the Swift 6 language mode
45 | var metadata: PDFMetadata
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/TypeConvertible.swift:25:1: warning: extension declares a conformance of imported type 'PDFDocument' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'PDFKit' introduce this conformance in the future
23 |
24 | }
25 | extension PDFDocument: @unchecked Sendable {
| |- warning: extension declares a conformance of imported type 'PDFDocument' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'PDFKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
26 | }
27 | extension PDFDocument: CsvExportable {
[59/147] Compiling Csv2ImgCore PdfSize.swift
[60/147] Compiling Csv2ImgCore PdfMaker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:44:22: warning: stored property 'fontSize' of 'Sendable'-conforming class 'PdfMaker' is mutable; this is an error in the Swift 6 language mode
42 |
43 | let maximumRowCount: Int?
44 | private(set) var fontSize: Double
| `- warning: stored property 'fontSize' of 'Sendable'-conforming class 'PdfMaker' is mutable; this is an error in the Swift 6 language mode
45 | var metadata: PDFMetadata
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:214:53: warning: expression implicitly coerced from 'String?' to 'Any'
212 | let coreInfo =
213 | [
214 | kCGPDFContextTitle as CFString: metadata.title,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'String?' to 'Any'
215 | kCGPDFContextAuthor as CFString: metadata.author,
216 | kCGPDFContextMediaBox: mediaBoxPerPage,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:215:54: warning: expression implicitly coerced from 'String?' to 'Any'
213 | [
214 | kCGPDFContextTitle as CFString: metadata.title,
215 | kCGPDFContextAuthor as CFString: metadata.author,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'String?' to 'Any'
216 | kCGPDFContextMediaBox: mediaBoxPerPage,
217 | ] as [CFString: Any]
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:418:53: warning: expression implicitly coerced from 'String?' to 'Any'
416 | let coreInfo =
417 | [
418 | kCGPDFContextTitle as CFString: metadata.title,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'String?' to 'Any'
419 | kCGPDFContextAuthor as CFString: metadata.author,
420 | kCGPDFContextMediaBox: mediaBoxPerPage,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/PdfMaker.swift:419:54: warning: expression implicitly coerced from 'String?' to 'Any'
417 | [
418 | kCGPDFContextTitle as CFString: metadata.title,
419 | kCGPDFContextAuthor as CFString: metadata.author,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'String?' to 'Any'
420 | kCGPDFContextMediaBox: mediaBoxPerPage,
421 | ] as [CFString: Any]
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:87:9: warning: actor-isolated property 'isLoadingSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | >
86 | {
87 | isLoadingSubject.eraseToAnyPublisher()
| `- warning: actor-isolated property 'isLoadingSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | }
89 |
90 | /// `CurrentValueSubject` to store ``isLoading``.
91 | private let isLoadingSubject:
| `- note: property declared here
92 | CurrentValueSubject<
93 | Bool,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:112:9: warning: actor-isolated property 'progressSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | >
111 | {
112 | progressSubject.eraseToAnyPublisher()
| `- warning: actor-isolated property 'progressSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: property declared here
117 | CurrentValueSubject<
118 | Double,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:525:38: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
523 | rows: await self.rows
524 | ) { progress in
525 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
526 | }
527 | continuation.resume(returning: image)
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:564:42: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
562 | rows: await self.rows
563 | ) { progress in
564 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
565 | }
566 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:571:42: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
569 | rows: await self.rows
570 | ) { progress in
571 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
572 | }
573 | }
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:87:9: warning: actor-isolated property 'isLoadingSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
85 | >
86 | {
87 | isLoadingSubject.eraseToAnyPublisher()
| `- warning: actor-isolated property 'isLoadingSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | }
89 |
90 | /// `CurrentValueSubject` to store ``isLoading``.
91 | private let isLoadingSubject:
| `- note: property declared here
92 | CurrentValueSubject<
93 | Bool,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:112:9: warning: actor-isolated property 'progressSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | >
111 | {
112 | progressSubject.eraseToAnyPublisher()
| `- warning: actor-isolated property 'progressSubject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | }
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: property declared here
117 | CurrentValueSubject<
118 | Double,
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:525:38: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
523 | rows: await self.rows
524 | ) { progress in
525 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
526 | }
527 | continuation.resume(returning: image)
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:564:42: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
562 | rows: await self.rows
563 | ) { progress in
564 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
565 | }
566 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/Csv.swift:571:42: warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | /// `CurrentValueSubject` to store ``progress``.
116 | private let progressSubject:
| `- note: mutation of this property is only permitted within the actor
117 | CurrentValueSubject<
118 | Double,
:
569 | rows: await self.rows
570 | ) { progress in
571 | self.progressSubject.value = progress
| `- warning: actor-isolated property 'progressSubject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
572 | }
573 | }
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:20:10: warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
18 | /// Failed to get current `CGContext`
19 | case noContextAvailable
20 | case failedCreateImage(
| `- warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
21 | CGContext
22 | )
CoreGraphics.CGContext:1:14: note: class 'CGContext' does not conform to the 'Sendable' protocol
1 | public class CGContext : _CFObject {
| `- note: class 'CGContext' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
1 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
2 | import CoreText
3 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:48:9: warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
46 | }
47 |
48 | var maximumRowCount: Int?
| `- warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
49 |
50 | var fontSize: Double
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:175:21: warning: immutable value 'item' was never used; consider replacing with '_' or removing it
173 | for (i, row) in rows.enumerated() {
174 | var rowFrames: [CGRect] = []
175 | for (j, item) in row.values.enumerated() {
| `- warning: immutable value 'item' was never used; consider replacing with '_' or removing it
176 | if columns.count <= j { continue }
177 | let xOffset = columnWidths[0..<j].reduce(0, +) + (j + 1) * horizontalSpace
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:20:10: warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
18 | /// Failed to get current `CGContext`
19 | case noContextAvailable
20 | case failedCreateImage(
| `- warning: associated value 'failedCreateImage' of 'Sendable'-conforming enum 'ImageMakingError' has non-sendable type 'CGContext'; this is an error in the Swift 6 language mode
21 | CGContext
22 | )
CoreGraphics.CGContext:1:14: note: class 'CGContext' does not conform to the 'Sendable' protocol
1 | public class CGContext : _CFObject {
| `- note: class 'CGContext' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
1 | import CoreGraphics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreGraphics'
2 | import CoreText
3 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:48:9: warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
46 | }
47 |
48 | var maximumRowCount: Int?
| `- warning: stored property 'maximumRowCount' of 'Sendable'-conforming class 'ImageMaker' is mutable; this is an error in the Swift 6 language mode
49 |
50 | var fontSize: Double
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/ImageMaker.swift:175:21: warning: immutable value 'item' was never used; consider replacing with '_' or removing it
173 | for (i, row) in rows.enumerated() {
174 | var rowFrames: [CGRect] = []
175 | for (j, item) in row.values.enumerated() {
| `- warning: immutable value 'item' was never used; consider replacing with '_' or removing it
176 | if columns.count <= j { continue }
177 | let xOffset = columnWidths[0..<j].reduce(0, +) + (j + 1) * horizontalSpace
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/CsvColumnStyle+Ex.swift:25:16: warning: expression implicitly coerced from 'NSColor?' to 'Any'
23 | return normalColor()
24 | }
25 | return Color(
| |- warning: expression implicitly coerced from 'NSColor?' to 'Any'
| |- note: provide a default value to avoid this warning
| |- note: force-unwrap the value to avoid this warning
| `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
26 | cgColor: color
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/Csv2ImgCore/CsvColumnStyle+Ex.swift:25:16: warning: expression implicitly coerced from 'NSColor?' to 'Any'
23 | return normalColor()
24 | }
25 | return Color(
| |- warning: expression implicitly coerced from 'NSColor?' to 'Any'
| |- note: provide a default value to avoid this warning
| |- note: force-unwrap the value to avoid this warning
| `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
26 | cgColor: color
27 | )
[71/147] Compiling ArgumentParser Errors.swift
[72/147] Compiling ArgumentParser Flag.swift
[73/147] Compiling ArgumentParser NameSpecification.swift
[74/147] Compiling ArgumentParser Option.swift
[75/147] Compiling ArgumentParser ParserError.swift
[76/147] Compiling ArgumentParser SplitArguments.swift
[77/147] Compiling ArgumentParser DumpHelpGenerator.swift
[78/147] Compiling ArgumentParser HelpCommand.swift
[79/147] Compiling ArgumentParser ArgumentDecoder.swift
[80/147] Compiling ArgumentParser ArgumentDefinition.swift
[81/147] Compiling ArgumentParser ArgumentSet.swift
[82/147] Compiling ArgumentParser CommandParser.swift
[83/147] Compiling ArgumentParser InputOrigin.swift
[84/147] Compiling ArgumentParser Name.swift
[85/147] Compiling ArgumentParser Parsed.swift
[86/147] Compiling ArgumentParser ParsedValues.swift
[87/147] Compiling ArgumentParser HelpGenerator.swift
[88/147] Compiling ArgumentParser MessageInfo.swift
[89/147] Compiling ArgumentParser UsageGenerator.swift
[90/147] Compiling ArgumentParser CollectionExtensions.swift
[91/149] Compiling Csv2ImgCmd command.swift
[92/149] Emitting module Csv2ImgCmd
[92/149] Write Objects.LinkFileList
[93/149] Linking Csv2ImgCmd
[94/149] Applying Csv2ImgCmd
[96/149] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[97/149] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[98/149] Compiling SwiftSyntax SyntaxBaseNodes.swift
[99/149] Compiling SwiftSyntax SyntaxCollections.swift
[100/149] Compiling SwiftSyntax SyntaxEnum.swift
[101/149] Compiling SwiftSyntax SyntaxKind.swift
[102/149] Compiling SwiftSyntax SyntaxRewriter.swift
[103/149] Compiling SwiftSyntax RawSyntaxNodesC.swift
[104/149] Compiling SwiftSyntax RawSyntaxNodesD.swift
[105/149] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[106/149] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[107/149] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[108/149] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[114/149] Compiling SwiftSyntax TriviaPieces.swift
[115/149] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[123/149] Emitting module SwiftSyntax
[144/149] Compiling SwiftSyntax SyntaxNodesEF.swift
[145/149] Compiling SwiftSyntax SyntaxNodesGHI.swift
[146/149] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[147/149] Compiling SwiftSyntax SyntaxNodesOP.swift
[148/149] Compiling SwiftSyntax SyntaxNodesQRS.swift
[149/149] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[150/188] Compiling SwiftParser Lexeme.swift
[151/188] Compiling SwiftParser LexemeSequence.swift
[152/188] Compiling SwiftParser Lexer.swift
[153/188] Compiling SwiftParser RegexLiteralLexer.swift
[154/192] Compiling SwiftParser Names.swift
[155/192] Compiling SwiftParser Nominals.swift
[156/192] Compiling SwiftParser Parameters.swift
[157/192] Compiling SwiftParser ParseSourceFile.swift
[158/192] Compiling SwiftParser Statements.swift
[159/192] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[160/192] Compiling SwiftParser StringLiterals.swift
[161/192] Compiling SwiftParser SwiftParserCompatibility.swift
[162/192] Compiling SwiftParser UnicodeScalarExtensions.swift
[163/192] Compiling SwiftParser Lookahead.swift
[164/192] Compiling SwiftParser LoopProgressCondition.swift
[165/192] Compiling SwiftParser Modifiers.swift
[166/192] Compiling SwiftParser Parser.swift
[167/192] Compiling SwiftParser Patterns.swift
[168/192] Compiling SwiftParser Recovery.swift
[169/192] Compiling SwiftParser Specifiers.swift
[170/192] Compiling SwiftParser TokenSpecSet.swift
[171/192] Compiling SwiftParser TopLevel.swift
[172/192] Compiling SwiftParser TriviaParser.swift
[173/192] Compiling SwiftParser Types.swift
[174/192] Compiling SwiftParser SyntaxUtils.swift
[175/192] Compiling SwiftParser TokenConsumer.swift
[176/192] Compiling SwiftParser TokenPrecedence.swift
[177/192] Compiling SwiftParser TokenSpec.swift
[178/192] Compiling SwiftParser Attributes.swift
[179/192] Compiling SwiftParser Availability.swift
[180/192] Compiling SwiftParser CharacterInfo.swift
[181/192] Compiling SwiftParser CollectionNodes+Parsable.swift
[182/192] Compiling SwiftParser Declarations.swift
[183/192] Emitting module SwiftParser
[184/192] Compiling SwiftParser IsLexerClassified.swift
[185/192] Compiling SwiftParser LayoutNodes+Parsable.swift
[186/192] Compiling SwiftParser Parser+TokenSpecSet.swift
[187/192] Compiling SwiftParser TokenSpecStaticMembers.swift
[188/192] Compiling SwiftParser Directives.swift
[189/192] Compiling SwiftParser ExperimentalFeatures.swift
[190/192] Compiling SwiftParser Expressions.swift
[191/192] Compiling SwiftParser IncrementalParseTransition.swift
[192/192] Compiling SwiftParser Cursor.swift
[193/200] Compiling CsvBuilder RowWrapper.swift
[194/200] Compiling CsvBuilder Example.swift
[195/200] Compiling CsvBuilder NewCsvComposition.swift
[196/200] Compiling CsvBuilder CsvCompositionElement.swift
[197/200] Compiling CsvBuilder CsvCompositionParser.swift
[198/200] Emitting module CsvBuilder
[199/200] Compiling CsvBuilder CsvBuilder.swift
[200/200] Compiling CsvBuilder CsvComposition.swift
Build complete! (54.09s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "510.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
}
],
"manifest_display_name" : "Csv2Img",
"name" : "Csv2Img",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Csv2ImgCore",
"targets" : [
"Csv2ImgCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CsvBuilder",
"targets" : [
"CsvBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Csv2ImgCmd",
"targets" : [
"Csv2ImgCmd"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CsvBuilderTests",
"module_type" : "SwiftTarget",
"name" : "CsvBuilderTests",
"path" : "Tests/CsvBuilderTests",
"sources" : [
"CsvBuilderTests.swift"
],
"target_dependencies" : [
"CsvBuilder"
],
"type" : "test"
},
{
"c99name" : "CsvBuilder",
"module_type" : "SwiftTarget",
"name" : "CsvBuilder",
"path" : "Sources/CsvBuilder",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"CsvBuilder"
],
"sources" : [
"CsvBuilder.swift",
"CsvComposition.swift",
"CsvCompositionElement.swift",
"CsvCompositionParser.swift",
"Example.swift",
"NewCsvComposition.swift",
"RowWrapper.swift"
],
"target_dependencies" : [
"Csv2ImgCore"
],
"type" : "library"
},
{
"c99name" : "Csv2ImgCoreTests",
"module_type" : "SwiftTarget",
"name" : "Csv2ImgCoreTests",
"path" : "Tests/Csv2ImgCoreTests",
"sources" : [
"CsvTests.swift",
"ImageMakerTests.swift",
"PdfMakerTests.swift",
"String+ExTests.swift",
"Util.swift"
],
"target_dependencies" : [
"Csv2ImgCore"
],
"type" : "test"
},
{
"c99name" : "Csv2ImgCore",
"module_type" : "SwiftTarget",
"name" : "Csv2ImgCore",
"path" : "Sources/Csv2ImgCore",
"product_memberships" : [
"Csv2ImgCore",
"CsvBuilder",
"Csv2ImgCmd"
],
"sources" : [
"Csv.swift",
"CsvColumn.swift",
"CsvColumnStyle+Ex.swift",
"CsvError.swift",
"CsvImageRepresentation.swift",
"CsvRow.swift",
"Image+Data.swift",
"ImageMaker.swift",
"ImageRenderer.swift",
"Maker.swift",
"PDFMetadata.swift",
"Pdf+Data.swift",
"PdfMaker.swift",
"PdfSize.swift",
"String+Ex.swift",
"TypeConvertible.swift"
],
"type" : "library"
},
{
"c99name" : "Csv2ImgCmd",
"module_type" : "SwiftTarget",
"name" : "Csv2ImgCmd",
"path" : "Sources/Csv2ImgCmd",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"Csv2ImgCmd"
],
"sources" : [
"command.swift"
],
"target_dependencies" : [
"Csv2ImgCore"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Done.