Build Information
Successful build of SwiftImageReadWrite, reference 1.9.2 (42ace2
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:55:54 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: 1.9.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/SwiftImageReadWrite
* tag 1.9.2 -> FETCH_HEAD
HEAD is now at 42ace24 Removed duplicate 'named()' function in CGImage+import
Cloned https://github.com/dagronf/SwiftImageReadWrite.git
Revision (git rev-parse @):
42ace2412279f18bc264bc306e96b51c36e12a33
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/SwiftImageReadWrite.git at 1.9.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "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.86s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite.git
Working copy of https://github.com/dagronf/SwiftImageReadWrite.git resolved at 1.9.2 (42ace24)
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] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/21] Compiling SwiftImageReadWrite CGImage+SVG.swift
[5/21] Compiling SwiftImageReadWrite CGImage+codable.swift
[6/21] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[7/21] Compiling SwiftImageReadWrite PlatformImage+export.swift
[8/21] 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 | }
[9/21] Compiling SwiftImageReadWrite CGImage+platform.swift
[10/21] Compiling SwiftImageReadWrite CIImage+extensions.swift
[11/22] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
[12/22] Compiling SwiftImageReadWrite PlatformImage+import.swift
[13/22] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[14/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 | }
[15/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 | }
[16/22] Compiling SwiftImageReadWrite CGImage+extensions.swift
[17/22] Compiling SwiftImageReadWrite CGImage+import.swift
[18/22] 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 | }
[19/22] 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 | }
[20/22] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[21/22] Compiling SwiftImageReadWrite CGImage+colorspace.swift
[22/22] Compiling SwiftImageReadWrite CGImage+export.swift
Build complete! (21.23s)
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/1.9.2
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'. (5.72s)
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/1.9.2
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.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
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.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
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
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 Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/53] Emitting module SymbolKit
[12/57] Compiling SymbolKit SemanticVersion.swift
[13/57] Compiling SymbolKit AccessControl.swift
[14/57] Compiling SymbolKit Availability.swift
[15/57] Compiling SymbolKit AvailabilityItem.swift
[16/57] Compiling SymbolKit Domain.swift
[17/57] Compiling SymbolKit Names.swift
[18/57] Compiling SymbolKit SPI.swift
[19/57] Compiling SymbolKit Snippet.swift
[20/57] Compiling SymbolKit Extension.swift
[21/57] Compiling SymbolKit DeclarationFragments.swift
[22/57] Compiling SymbolKit Fragment.swift
[23/57] Compiling SymbolKit FragmentKind.swift
[24/57] Compiling SymbolKit FunctionParameter.swift
[25/57] Compiling SymbolKit FunctionSignature.swift
[26/57] Compiling SymbolKit Identifier.swift
[27/57] Compiling SymbolKit KindIdentifier.swift
[28/57] Compiling SymbolKit Location.swift
[29/57] Compiling SymbolKit Mutability.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Relationship.swift
[36/57] Compiling SymbolKit RelationshipKind.swift
[37/57] Compiling SymbolKit SourceOrigin.swift
[38/57] Compiling SymbolKit GenericConstraints.swift
[39/57] Compiling SymbolKit Swift.swift
[40/57] Compiling SymbolKit GenericConstraint.swift
[41/57] Compiling SymbolKit GenericParameter.swift
[42/57] Compiling SymbolKit Generics.swift
[43/57] Compiling SymbolKit Namespace.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] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.69s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[3/20] Compiling SwiftImageReadWrite PlatformImage.swift
[4/20] Compiling SwiftImageReadWrite Utils.swift
[5/20] Compiling SwiftImageReadWrite Errors.swift
[6/20] Compiling SwiftImageReadWrite ImageExportTypes.swift
[7/20] Compiling SwiftImageReadWrite CGImage+extensions.swift
[8/20] Compiling SwiftImageReadWrite CGImage+import.swift
[9/20] Compiling SwiftImageReadWrite PlatformImage+import.swift
[10/20] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[11/20] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[12/20] Compiling SwiftImageReadWrite PlatformImage+export.swift
[13/20] Compiling SwiftImageReadWrite CGImage+platform.swift
[14/20] Compiling SwiftImageReadWrite CIImage+extensions.swift
[15/20] Compiling SwiftImageReadWrite CGImage+SVG.swift
[16/20] Compiling SwiftImageReadWrite CGImage+codable.swift
[17/20] Emitting module SwiftImageReadWrite
[18/20] Compiling SwiftImageReadWrite CGImage+colorspace.swift
[19/20] Compiling SwiftImageReadWrite CGImage+export.swift
[20/20] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
Build of target: 'SwiftImageReadWrite' complete! (1.29s)
278
3 /Users/admin/builder/spi-builder-workspace/.docs/dagronf/swiftimagereadwrite/1.9.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dagronf/swiftimagereadwrite/1.9.2
File count: 278
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-dagronf-swiftimagereadwrite-1.9.2-b6c50afb.zip to s3://spi-docs-inbox/prod-dagronf-swiftimagereadwrite-1.9.2-b6c50afb.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [66%]
Copying... [77%]
Copying... [88%]
Copying... [99%]
Copying... [100%]
Done.