Build Information
Successful build of SwiftImageReadWrite, reference main (77e010
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:56:07 UTC.
Swift 6 data race errors: 2
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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/SwiftImageReadWrite.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/SwiftImageReadWrite
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 77e0105 Merge pull request #3 from vdhamer/main
Cloned https://github.com/dagronf/SwiftImageReadWrite.git
Revision (git rev-parse @):
77e010598c31ffb3f06cd5b0046b877962c23b84
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/SwiftImageReadWrite.git at main
========================================
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": "swiftimagereadwrite",
"name": "SwiftImageReadWrite",
"url": "https://github.com/dagronf/SwiftImageReadWrite.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImageReadWrite",
"dependencies": [
]
}
]
}
Fetching https://github.com/dagronf/SwiftImageReadWrite.git
[1/378] Fetching swiftimagereadwrite
Fetched https://github.com/dagronf/SwiftImageReadWrite.git from cache (0.88s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite.git
Working copy of https://github.com/dagronf/SwiftImageReadWrite.git resolved at main (77e0105)
warning: '.resolve-product-dependencies': dependency 'swiftimagereadwrite' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dagronf/SwiftImageReadWrite.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
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/21] Compiling SwiftImageReadWrite Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:36:32: warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| `- warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
21 |
22 | #if os(macOS)
23 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
24 | public typealias PlatformImage = NSImage
25 | #else
:
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| |- note: annotate 'kUTTypeHEIC' 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
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:37:32: warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
| |- warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kUTTypeSVG' 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
38 |
39 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
[5/21] Compiling SwiftImageReadWrite ImageExportTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:36:32: warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| `- warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
21 |
22 | #if os(macOS)
23 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
24 | public typealias PlatformImage = NSImage
25 | #else
:
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| |- note: annotate 'kUTTypeHEIC' 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
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:37:32: warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
| |- warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kUTTypeSVG' 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
38 |
39 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
[6/22] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
[7/22] Compiling SwiftImageReadWrite CGImage+platform.swift
[8/22] Compiling SwiftImageReadWrite CIImage+extensions.swift
[9/22] Compiling SwiftImageReadWrite CGImage+extensions.swift
[10/22] Compiling SwiftImageReadWrite CGImage+import.swift
[11/22] Compiling SwiftImageReadWrite CGImage+SVG.swift
[12/22] Compiling SwiftImageReadWrite CGImage+codable.swift
[13/22] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[14/22] Compiling SwiftImageReadWrite PlatformImage+export.swift
[15/22] Emitting module SwiftImageReadWrite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:36:32: warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| `- warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
21 |
22 | #if os(macOS)
23 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
24 | public typealias PlatformImage = NSImage
25 | #else
:
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| |- note: annotate 'kUTTypeHEIC' 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
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:37:32: warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
| |- warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kUTTypeSVG' 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
38 |
39 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
[16/22] Compiling SwiftImageReadWrite CGImage+colorspace.swift
[17/22] Compiling SwiftImageReadWrite CGImage+export.swift
[18/22] Compiling SwiftImageReadWrite PlatformImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:36:32: warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| `- warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
21 |
22 | #if os(macOS)
23 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
24 | public typealias PlatformImage = NSImage
25 | #else
:
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| |- note: annotate 'kUTTypeHEIC' 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
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:37:32: warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
| |- warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kUTTypeSVG' 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
38 |
39 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
[19/22] Compiling SwiftImageReadWrite Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:36:32: warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| `- warning: let 'kUTTypeHEIC' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
21 |
22 | #if os(macOS)
23 | import AppKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
24 | public typealias PlatformImage = NSImage
25 | #else
:
34 |
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
| |- note: annotate 'kUTTypeHEIC' 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
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/platform/PlatformImage.swift:37:32: warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // HEIC definition.
36 | @usableFromInline internal let kUTTypeHEIC = "public.heic" as CFString
37 | @usableFromInline internal let kUTTypeSVG = "public.svg-image" as CFString
| |- warning: let 'kUTTypeSVG' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kUTTypeSVG' 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
38 |
39 | #endif
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
[20/22] Compiling SwiftImageReadWrite PlatformImage+import.swift
[21/22] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[22/22] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
Build complete! (18.73s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftImageReadWrite",
"name" : "SwiftImageReadWrite",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftImageReadWrite",
"targets" : [
"SwiftImageReadWrite"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftImageReadWriteTests",
"module_type" : "SwiftTarget",
"name" : "SwiftImageReadWriteTests",
"path" : "Tests/SwiftImageReadWriteTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftImageReadWriteTests/resources/rainbow.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftImageReadWriteTests/resources/sample-heic-image.heic",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftImageReadWriteTests/resources/wombles.jpeg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"SwiftImageReadWriteTests.swift",
"TestOutputContainer.swift",
"TestingUtils.swift"
],
"target_dependencies" : [
"SwiftImageReadWrite"
],
"type" : "test"
},
{
"c99name" : "SwiftImageReadWrite",
"module_type" : "SwiftTarget",
"name" : "SwiftImageReadWrite",
"path" : "Sources/SwiftImageReadWrite",
"product_memberships" : [
"SwiftImageReadWrite"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftImageReadWrite/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CGImage/CGImage+SVG.swift",
"CGImage/CGImage+codable.swift",
"CGImage/CGImage+colorspace.swift",
"CGImage/CGImage+export.swift",
"CGImage/CGImage+extensions.swift",
"CGImage/CGImage+import.swift",
"CGImage/CGImage+platform.swift",
"CIImage/CIImage+extensions.swift",
"platform/PlatformImage+codable.swift",
"platform/PlatformImage+export.swift",
"platform/PlatformImage+import.swift",
"platform/PlatformImage+macOS.swift",
"platform/PlatformImage.swift",
"private/Utils.swift",
"utils/Errors.swift",
"utils/ImageExportTypes.swift",
"utils/SwiftUI+extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/dagronf/swiftimagereadwrite/main
Repository: dagronf/SwiftImageReadWrite
Swift version used: 6.0
Target: SwiftImageReadWrite
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SwiftImageReadWrite'...
Finished extracting symbol information for 'SwiftImageReadWrite'. (6.57s)
Building documentation for 'SwiftImageReadWrite'...
warning: Parameter 'scale' not found in instance method declaration
--> Sources/SwiftImageReadWrite/CGImage/CGImage+export.swift:154:9-154:79
152 | /// Create a heic representation of the image
153 | /// - Parameters:
154 + /// - scale: The image's scale value (for retina-type images eg. @2x == 2)
| ╰─suggestion: Remove 'scale' parameter documentation
155 | /// - compression: The compression level to apply (clamped to 0 ... 1)
156 | /// - excludeGPSData: Strip any gps data
warning: Parameter 'dpi' is missing documentation
--> Sources/SwiftImageReadWrite/CGImage/CGImage+export.swift:156:45-156:45
154 | /// - scale: The image's scale value (for retina-type images eg. @2x == 2)
155 | /// - compression: The compression level to apply (clamped to 0 ... 1)
| ╰─suggestion: Document 'dpi' parameter
156 + /// - excludeGPSData: Strip any gps data
157 | /// - Returns: image data
158 | ///
warning: Parameter 'embeddingType' not found in instance method declaration
--> Sources/SwiftImageReadWrite/CGImage/CGImage+export.swift:187:11-187:24
185 | /// - size: The output size in pixels (default to the image size)
186 | /// - fillStyle: The scaling to apply to the image within the size
187 + /// - embeddingType: The svg embedded image type (eg. jpg, png etc)
| ╰─suggestion: Replace 'embeddingType' with 'embeddedImageFormat'
188 | /// - Returns: SVG data
189 | @inlinable public func svg(size: CGSize? = nil, fillStyle: SVGImageFillStyle = .aspectFit, embeddedImageFormat: ImageExportType = .jpg()) throws -> Data {
warning: Parameter 'embeddedImageFormat' is missing documentation
--> Sources/SwiftImageReadWrite/CGImage/CGImage+export.swift:187:72-187:72
185 | /// - size: The output size in pixels (default to the image size)
186 | /// - fillStyle: The scaling to apply to the image within the size
187 + /// - embeddingType: The svg embedded image type (eg. jpg, png etc)
| ╰─suggestion: Document 'embeddedImageFormat' parameter
188 | /// - Returns: SVG data
189 | @inlinable public func svg(size: CGSize? = nil, fillStyle: SVGImageFillStyle = .aspectFit, embeddedImageFormat: ImageExportType = .jpg()) throws -> Data {
warning: Parameter 'pixelSize' not found in instance method declaration
--> Sources/SwiftImageReadWrite/CIImage/CIImage+extensions.swift:39:10-39:19
37 | /// Create an NSImage representation of this image
38 | /// - Parameters:
39 + /// - pixelSize: The number of pixels in the result image. For a retina image (for example), pixelSize is double repSize
| ╰─suggestion: Replace 'pixelSize' with 'pixelsSize'
40 | /// - repSize: The number of points in the result image
41 | /// - Returns: Converted image, or nil
warning: Parameter 'pixelsSize' is missing documentation
--> Sources/SwiftImageReadWrite/CIImage/CIImage+extensions.swift:40:59-40:59
38 | /// - Parameters:
39 | /// - pixelSize: The number of pixels in the result image. For a retina image (for example), pixelSize is double repSize
40 + /// - repSize: The number of points in the result image
| ╰─suggestion: Document 'pixelsSize' parameter
41 | /// - Returns: Converted image, or nil
42 | func asNSImage(pixelsSize: CGSize? = nil, repSize: CGSize? = nil) -> NSImage? {
warning: Parameter 'scale' not found in instance method declaration
--> Sources/SwiftImageReadWrite/platform/PlatformImage+export.swift:120:9-120:79
118 | /// Create a heic representation of the image
119 | /// - Parameters:
120 + /// - scale: The image's scale value (for retina-type images eg. @2x == 2)
| ╰─suggestion: Remove 'scale' parameter documentation
121 | /// - compression: The compression level to apply (clamped to 0 ... 1)
122 | /// - excludeGPSData: Strip any gps data
warning: Parameter 'dpi' is missing documentation
--> Sources/SwiftImageReadWrite/platform/PlatformImage+export.swift:122:45-122:45
120 | /// - scale: The image's scale value (for retina-type images eg. @2x == 2)
121 | /// - compression: The compression level to apply (clamped to 0 ... 1)
| ╰─suggestion: Document 'dpi' parameter
122 + /// - excludeGPSData: Strip any gps data
123 | /// - Returns: image data
124 | @inlinable public func heic(dpi: CGFloat, compression: CGFloat? = nil, excludeGPSData: Bool = false) throws -> Data {
warning: Parameter 'embeddingType' not found in instance method declaration
--> Sources/SwiftImageReadWrite/platform/PlatformImage+export.swift:149:11-149:24
147 | /// - size: The output size in pixels (default to the image size)
148 | /// - fillStyle: The scaling to apply to the image within the size
149 + /// - embeddingType: The svg embedded image type (eg. jpg, png etc)
| ╰─suggestion: Replace 'embeddingType' with 'embeddedImageFormat'
150 | /// - Returns: SVG data
151 | @inlinable public func svg(size: CGSize? = nil, fillStyle: SVGImageFillStyle = .aspectFit, embeddedImageFormat: ImageExportType = .jpg()) throws -> Data {
warning: Parameter 'embeddedImageFormat' is missing documentation
--> Sources/SwiftImageReadWrite/platform/PlatformImage+export.swift:149:72-149:72
147 | /// - size: The output size in pixels (default to the image size)
148 | /// - fillStyle: The scaling to apply to the image within the size
149 + /// - embeddingType: The svg embedded image type (eg. jpg, png etc)
| ╰─suggestion: Document 'embeddedImageFormat' parameter
150 | /// - Returns: SVG data
151 | @inlinable public func svg(size: CGSize? = nil, fillStyle: SVGImageFillStyle = .aspectFit, embeddedImageFormat: ImageExportType = .jpg()) throws -> Data {Finished building documentation for 'SwiftImageReadWrite' (0.16s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/dagronf/swiftimagereadwrite/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit SemanticVersion.swift
[18/57] Compiling SymbolKit AccessControl.swift
[19/57] Compiling SymbolKit Availability.swift
[20/57] Compiling SymbolKit AvailabilityItem.swift
[21/57] Compiling SymbolKit Domain.swift
[22/57] Compiling SymbolKit Identifier.swift
[23/57] Compiling SymbolKit KindIdentifier.swift
[24/57] Compiling SymbolKit Location.swift
[25/57] Compiling SymbolKit Mutability.swift
[26/57] Compiling SymbolKit SourceRange.swift
[27/57] Compiling SymbolKit Metadata.swift
[28/57] Compiling SymbolKit Module.swift
[29/57] Compiling SymbolKit OperatingSystem.swift
[30/57] Compiling SymbolKit Platform.swift
[31/57] Compiling SymbolKit Names.swift
[32/57] Compiling SymbolKit SPI.swift
[33/57] Compiling SymbolKit Snippet.swift
[34/57] Compiling SymbolKit Extension.swift
[35/57] Compiling SymbolKit GenericConstraint.swift
[36/57] Compiling SymbolKit GenericParameter.swift
[37/57] Compiling SymbolKit Generics.swift
[38/57] Compiling SymbolKit Namespace.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Emitting module snippet_extract
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.16s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling SwiftImageReadWrite Errors.swift
[3/19] Compiling SwiftImageReadWrite ImageExportTypes.swift
[4/20] Compiling SwiftImageReadWrite PlatformImage.swift
[5/20] Compiling SwiftImageReadWrite Utils.swift
[6/20] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[7/20] Compiling SwiftImageReadWrite PlatformImage+import.swift
[8/20] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[9/20] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[10/20] Compiling SwiftImageReadWrite PlatformImage+export.swift
[11/20] Compiling SwiftImageReadWrite CGImage+extensions.swift
[12/20] Compiling SwiftImageReadWrite CGImage+import.swift
[13/20] Compiling SwiftImageReadWrite CGImage+colorspace.swift
[14/20] Compiling SwiftImageReadWrite CGImage+export.swift
[15/20] Emitting module SwiftImageReadWrite
[16/20] Compiling SwiftImageReadWrite CGImage+SVG.swift
[17/20] Compiling SwiftImageReadWrite CGImage+codable.swift
[18/20] Compiling SwiftImageReadWrite CGImage+platform.swift
[19/20] Compiling SwiftImageReadWrite CIImage+extensions.swift
[20/20] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
Build of target: 'SwiftImageReadWrite' complete! (2.21s)
278
3 /Users/admin/builder/spi-builder-workspace/.docs/dagronf/swiftimagereadwrite/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dagronf/swiftimagereadwrite/main
File count: 278
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-dagronf-swiftimagereadwrite-main-a96d0d6b.zip to s3://spi-docs-inbox/prod-dagronf-swiftimagereadwrite-main-a96d0d6b.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [66%]
Copying... [77%]
Copying... [88%]
Copying... [99%]
Copying... [100%]
Done.