Build Information
Successful build of SwiftyHaru, reference 0.3.0 (eee249
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 18:07:53 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeirdMath/SwiftyHaru.git
Reference: 0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/WeirdMath/SwiftyHaru
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at eee2497 Release 0.3.0
Cloned https://github.com/WeirdMath/SwiftyHaru.git
Revision (git rev-parse @):
eee2497186ccc8322d40cc7cb4cf5efb61f026fa
SUCCESS checkout https://github.com/WeirdMath/SwiftyHaru.git at 0.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/WeirdMath/SwiftyHaru.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/13227] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.03s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (2.59s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75463] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.31s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.37s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.73s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.87s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (5.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.38s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Building for debugging...
[0/75] Compiling CLibHaru hpdf_binary.c
[1/75] Compiling CLibHaru hpdf_array.c
[2/75] Write sources
[3/75] Compiling CLibHaru hpdf_3dmeasure.c
[4/75] Compiling CLibHaru hpdf_destination.c
[5/75] Write swift-version-24593BA9C3E375BF.txt
[6/75] Compiling CLibHaru hpdf_dict.c
[7/75] Compiling CLibHaru hpdf_annotation.c
[8/75] Compiling CLibHaru hpdf_doc.c
[9/75] Compiling CLibPNG pngwtran.c
[10/75] Compiling CLibPNG pngwutil.c
[11/75] Compiling CLibPNG pngwio.c
[12/75] Compiling CLibPNG pngwrite.c
[13/75] Compiling CLibPNG pngtrans.c
[14/75] Compiling CLibHaru hpdf_encoder_cnt.c
[15/75] Compiling CLibPNG pngset.c
[16/75] Compiling CLibPNG pngrio.c
[17/75] Compiling CLibPNG pngmem.c
[18/75] Compiling CLibPNG pngrutil.c
[19/75] Compiling CLibPNG pngpread.c
[20/75] Compiling CLibHaru hpdf_xref.c
[21/75] Compiling CLibPNG pngrtran.c
[22/75] Compiling CLibPNG pngread.c
[23/75] Compiling CLibHaru hpdf_utils.c
[24/75] Compiling CLibPNG png.c
[25/75] Compiling CLibHaru hpdf_u3d.c
[26/75] Compiling CLibPNG pngerror.c
[27/75] Compiling CLibHaru hpdf_streams.c
[28/75] Compiling CLibPNG pngget.c
[29/75] Compiling CLibHaru hpdf_string.c
[30/75] Compiling CLibHaru hpdf_real.c
[31/75] Compiling CLibHaru hpdf_page_label.c
[32/75] Compiling CLibHaru hpdf_outline.c
[33/75] Compiling CLibHaru hpdf_pdfa.c
[34/75] Compiling CLibHaru hpdf_number.c
[35/75] Compiling CLibHaru hpdf_null.c
[35/75] Compiling CLibHaru hpdf_objects.c
[37/75] Compiling CLibHaru hpdf_mmgr.c
[38/75] Compiling CLibHaru hpdf_name.c
[39/75] Compiling CLibHaru hpdf_pages.c
[40/75] Compiling CLibHaru hpdf_list.c
[41/75] Compiling CLibHaru hpdf_namedict.c
[42/75] Compiling CLibHaru hpdf_info.c
[43/75] Compiling CLibHaru hpdf_page_operator.c
[44/75] Compiling CLibHaru hpdf_image_png.c
[45/75] Compiling CLibHaru hpdf_image.c
[46/75] Compiling CLibHaru hpdf_fontdef_type1.c
[47/75] Compiling CLibHaru hpdf_image_ccitt.c
[48/75] Compiling CLibHaru hpdf_gstate.c
[49/75] Compiling CLibHaru hpdf_fontdef_cnt.c
[50/75] Compiling CLibHaru hpdf_fontdef_jp.c
[51/75] Compiling CLibHaru hpdf_fontdef_kr.c
[51/75] Compiling CLibHaru hpdf_fontdef_cns.c
[53/75] Compiling CLibHaru hpdf_fontdef_tt.c
[54/75] Compiling CLibHaru hpdf_font_type1.c
[55/75] Compiling CLibHaru hpdf_fontdef_cid.c
[56/75] Compiling CLibHaru hpdf_font_tt.c
[57/75] Compiling CLibHaru hpdf_fontdef.c
[57/75] Compiling CLibHaru hpdf_fontdef_base14.c
[59/75] Compiling CLibHaru hpdf_font.c
[60/75] Compiling CLibHaru hpdf_ext_gstate.c
[61/75] Compiling CLibHaru hpdf_error.c
[62/75] Compiling CLibHaru hpdf_exdata.c
[63/75] Compiling CLibHaru hpdf_font_cid.c
[64/75] Compiling CLibHaru hpdf_encrypt.c
[65/75] Compiling CLibHaru hpdf_encryptdict.c
[66/75] Compiling CLibHaru hpdf_encoder_utf.c
[67/75] Compiling CLibHaru hpdf_dummy.c
[68/75] Compiling CLibHaru hpdf_boolean.c
[69/75] Compiling CLibHaru hpdf_doc_png.c
[70/75] Compiling CLibHaru hpdf_catalog.c
[71/75] Compiling CLibHaru hpdf_encoder.c
[72/75] Compiling CLibHaru hpdf_encoder_jp.c
[73/75] Compiling CLibHaru hpdf_encoder_kr.c
[74/75] Compiling CLibHaru hpdf_encoder_cns.c
[76/108] Emitting module SwiftyHaru
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageLayout.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines how pages in the document should be displayed.
16 | public enum PageLayout: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Only one page is displayed.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageNumberStyle.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines a page labeling style of the document.
16 | public enum PageNumberStyle: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Arabic numerals (1 2 3 4).
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Orientation of a page.
16 | public enum Direction: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// The width is less than the height.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:28:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
26 | internal extension PDFPage.Direction {
27 |
28 | internal init?(haruEnum: HPDF_PageDirection) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | self.init(rawValue: haruEnum.rawValue)
30 | }
[77/112] Compiling SwiftyHaru PDFPage.swift
[78/112] Compiling SwiftyHaru Sequence.swift
[79/112] Compiling SwiftyHaru TextAlignment.swift
[80/112] Compiling SwiftyHaru Unimplemented.swift
[81/112] Compiling SwiftyHaru Grid.Lines.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
[82/112] Compiling SwiftyHaru Grid.MajorLineParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
[83/112] Compiling SwiftyHaru Grid.MinorLineParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
[84/112] Compiling SwiftyHaru Grid.SerifParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
[85/112] Compiling SwiftyHaru Grid.Serifs.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Lines.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the vertical and horizontal major and minor lines.
12 | public struct Lines: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the major and minor line parameters are set to their `.default`.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MajorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's major lines.
12 | public struct MajorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.5, line spacing is 10, line color is 80% gray.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.MinorLineParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's minor lines.
12 | public struct MinorLineParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default parameters, where line width is 0.25, line color is 80% gray and the default
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.SerifParameters.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
11 | /// Represents the properties of a grid's serifs. Serifs are short lines that can be placed on the edges of
12 | /// a grid and serve to put labels near them.
13 | public struct SerifParameters: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
14 |
15 | /// Default parameters, where the frequency is 5, the width of the serifs is 0.5
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Serifs.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the top, bottom, left and right serifs of the grid.
12 | public struct Serifs: Hashable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// Default set, where all the serif parameters are set to their `.default`.
[86/112] Compiling SwiftyHaru DrawingContext.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[87/112] Compiling SwiftyHaru Encoding.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[88/112] Compiling SwiftyHaru Font.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[89/112] Compiling SwiftyHaru AffineTransform.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[90/112] Compiling SwiftyHaru Color.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
299 | set {
300 | switch newValue._wrapped {
301 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
302 | HPDF_Page_SetCMYKStroke(_page,
303 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
305 | color.yellow,
306 | color.black)
307 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
308 | HPDF_Page_SetRGBStroke(_page,
309 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
332 | set {
333 | switch newValue._wrapped {
334 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
335 | HPDF_Page_SetCMYKFill(_page,
336 | color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
338 | color.yellow,
339 | color.black)
340 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
341 | HPDF_Page_SetRGBFill(_page,
342 | color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:395:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
393 | internal extension Color {
394 |
395 | internal init(_ haruRGBColor: HPDF_RGBColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
396 | self.init(red: haruRGBColor.r, green: haruRGBColor.g, blue: haruRGBColor.b)!
397 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:399:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
397 | }
398 |
399 | internal init(_ haruCMYKColor: HPDF_CMYKColor) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
400 | self.init(cyan: haruCMYKColor.c,
401 | magenta: haruCMYKColor.m,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
64 | get {
65 | switch _wrapped {
66 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
67 | return color.red
68 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
66 | case .rgb(let color):
67 | return color.red
68 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
69 | return (1 - color.cyan) * (1 - color.black)
70 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
74 | set {
75 | switch _wrapped {
76 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
77 | _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
78 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
93 | get {
94 | switch _wrapped {
95 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
96 | return color.green
97 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
95 | case .rgb(let color):
96 | return color.green
97 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
98 | return (1 - color.magenta) * (1 - color.black)
99 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
103 | set {
104 | switch _wrapped {
105 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
106 | _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
122 | get {
123 | switch _wrapped {
124 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
125 | return color.blue
126 | case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
124 | case .rgb(let color):
125 | return color.blue
126 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
127 | return (1 - color.yellow) * (1 - color.black)
128 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
132 | set {
133 | switch _wrapped {
134 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
135 | _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 | case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
151 | get {
152 | switch _wrapped {
153 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
154 | return color.cyan
155 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
153 | case .cmyk(let color):
154 | return color.cyan
155 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
156 | return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 | case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
161 | set {
162 | switch _wrapped {
163 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
164 | _wrapped = .cmyk(cyan: newValue,
165 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
181 | get {
182 | switch _wrapped {
183 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
184 | return color.magenta
185 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
183 | case .cmyk(let color):
184 | return color.magenta
185 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
186 | return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
191 | set {
192 | switch _wrapped {
193 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
194 | _wrapped = .cmyk(cyan: color.cyan,
195 | magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
211 | get {
212 | switch _wrapped {
213 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
214 | return color.yellow
215 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
213 | case .cmyk(let color):
214 | return color.yellow
215 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
216 | return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 | default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
221 | set {
222 | switch _wrapped {
223 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
224 | _wrapped = .cmyk(cyan: color.cyan,
225 | magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
242 | get {
243 | switch _wrapped {
244 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
245 | return color.black
246 | case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
37 |
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
| `- note: 'rgb(red:green:blue:)' declared here
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
41 | case gray(Float)
:
244 | case .cmyk(let color):
245 | return color.black
246 | case .rgb(let color):
| `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated [#deprecation]
247 | return 1 - max(color.red, color.green, color.blue)
248 | case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
38 | internal enum _ColorSpaceWrapper: Hashable {
39 | case rgb(red: Float, green: Float, blue: Float)
40 | case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
| `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
41 | case gray(Float)
42 | }
:
252 | set {
253 | switch _wrapped {
254 | case .cmyk(let color):
| `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated [#deprecation]
255 | _wrapped = .cmyk(cyan: color.cyan,
256 | magenta: color.magenta,
[91/112] Compiling SwiftyHaru PDFColorSpace.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[92/112] Compiling SwiftyHaru Path.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[93/112] Compiling SwiftyHaru Grid+Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[94/112] Compiling SwiftyHaru Grid.LabelParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[95/112] Compiling SwiftyHaru Grid.Labels.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/PDFColorSpace.swift:31:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | internal extension PDFColorSpace {
30 |
31 | internal init(haruEnum: HPDF_ColorSpace) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
32 | self.init(rawValue: haruEnum.rawValue)!
33 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.LabelParameters.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Represents the properties of a grid's line labels. Labels can only be placed near serifs.
12 | public struct LabelParameters {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The sequnce of the text labels to draw.
/host/spi-builder-workspace/Sources/SwiftyHaru/Grid/Grid.Labels.swift:12:5: warning: 'public' modifier is redundant for struct declared in a public extension
10 |
11 | /// Encapsulates the parameters of the labels for vertical and horizontal lines.
12 | public struct Labels: Equatable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
13 |
14 | /// The labels for vertical lines at the top of the grid.
[96/112] Compiling SwiftyHaru Grid.swift
[97/112] Compiling SwiftyHaru PDFDateFormatter.swift
[98/112] Compiling SwiftyHaru PDFDocument.CompressionMode.swift
[99/112] Compiling SwiftyHaru PDFDocument.EncryptionMode.swift
[100/112] Compiling SwiftyHaru DashStyle.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
[101/112] Compiling SwiftyHaru Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
[102/112] Compiling SwiftyHaru Geometry.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
[103/112] Compiling SwiftyHaru LineCap.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
[104/112] Compiling SwiftyHaru LineJoin.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineCap.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineCap {
37 |
38 | internal init(_ haruEnum: HPDF_LineCap) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/LineJoin.swift:38:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
36 | internal extension LineJoin {
37 |
38 | internal init(_ haruEnum: HPDF_LineJoin) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
39 | self.init(rawValue: haruEnum.rawValue)!
40 | }
[105/112] Compiling SwiftyHaru PDFDocument.Metadata.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageLayout.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines how pages in the document should be displayed.
16 | public enum PageLayout: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Only one page is displayed.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageNumberStyle.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines a page labeling style of the document.
16 | public enum PageNumberStyle: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Arabic numerals (1 2 3 4).
[106/112] Compiling SwiftyHaru PDFDocument.PageLayout.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageLayout.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines how pages in the document should be displayed.
16 | public enum PageLayout: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Only one page is displayed.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageNumberStyle.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines a page labeling style of the document.
16 | public enum PageNumberStyle: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Arabic numerals (1 2 3 4).
[107/112] Compiling SwiftyHaru PDFDocument.PageNumberStyle.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageLayout.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines how pages in the document should be displayed.
16 | public enum PageLayout: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Only one page is displayed.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageNumberStyle.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines a page labeling style of the document.
16 | public enum PageNumberStyle: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Arabic numerals (1 2 3 4).
[108/112] Compiling SwiftyHaru PDFDocument.Permissions.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageLayout.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines how pages in the document should be displayed.
16 | public enum PageLayout: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Only one page is displayed.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFDocument.PageNumberStyle.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Determines a page labeling style of the document.
16 | public enum PageNumberStyle: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// Arabic numerals (1 2 3 4).
[109/112] Compiling SwiftyHaru PDFDocument.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Orientation of a page.
16 | public enum Direction: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// The width is less than the height.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:28:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
26 | internal extension PDFPage.Direction {
27 |
28 | internal init?(haruEnum: HPDF_PageDirection) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | self.init(rawValue: haruEnum.rawValue)
30 | }
[110/112] Compiling SwiftyHaru PDFError.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Orientation of a page.
16 | public enum Direction: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// The width is less than the height.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:28:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
26 | internal extension PDFPage.Direction {
27 |
28 | internal init?(haruEnum: HPDF_PageDirection) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | self.init(rawValue: haruEnum.rawValue)
30 | }
[111/112] Compiling SwiftyHaru PDFPage.Direction.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Orientation of a page.
16 | public enum Direction: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// The width is less than the height.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:28:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
26 | internal extension PDFPage.Direction {
27 |
28 | internal init?(haruEnum: HPDF_PageDirection) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | self.init(rawValue: haruEnum.rawValue)
30 | }
[112/112] Compiling SwiftyHaru PDFPage.Size.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:16:5: warning: 'public' modifier is redundant for enum declared in a public extension
14 |
15 | /// Orientation of a page.
16 | public enum Direction: UInt32 {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
17 |
18 | /// The width is less than the height.
/host/spi-builder-workspace/Sources/SwiftyHaru/PDFPage.Direction.swift:28:5: warning: 'internal' modifier is redundant for initializer declared in an internal extension
26 | internal extension PDFPage.Direction {
27 |
28 | internal init?(haruEnum: HPDF_PageDirection) {
| `- warning: 'internal' modifier is redundant for initializer declared in an internal extension
29 | self.init(rawValue: haruEnum.rawValue)
30 | }
Build complete! (37.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "SwiftyHaru",
"name" : "SwiftyHaru",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyHaru",
"targets" : [
"SwiftyHaru"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyHaruTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyHaruTests",
"path" : "Tests/SwiftyHaruTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"AffineTransformTests.swift",
"ColorTests.swift",
"CrossPlatformRenderer.swift",
"DashStyleTests.swift",
"DrawingContextTests.swift",
"GridTests.swift",
"PDFDateFormatterTests.swift",
"PDFDocumentTests.swift",
"PDFPageTests.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"SwiftyHaru"
],
"type" : "test"
},
{
"c99name" : "SwiftyHaru",
"module_type" : "SwiftTarget",
"name" : "SwiftyHaru",
"path" : "Sources/SwiftyHaru",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"DrawingContext.swift",
"Encoding.swift",
"Font.swift",
"Graphics/AffineTransform.swift",
"Graphics/Color.swift",
"Graphics/DashStyle.swift",
"Graphics/Drawable.swift",
"Graphics/Geometry.swift",
"Graphics/LineCap.swift",
"Graphics/LineJoin.swift",
"Graphics/PDFColorSpace.swift",
"Graphics/Path.swift",
"Grid/Grid+Drawable.swift",
"Grid/Grid.LabelParameters.swift",
"Grid/Grid.Labels.swift",
"Grid/Grid.Lines.swift",
"Grid/Grid.MajorLineParameters.swift",
"Grid/Grid.MinorLineParameters.swift",
"Grid/Grid.SerifParameters.swift",
"Grid/Grid.Serifs.swift",
"Grid/Grid.swift",
"PDFDateFormatter.swift",
"PDFDocument.CompressionMode.swift",
"PDFDocument.EncryptionMode.swift",
"PDFDocument.Metadata.swift",
"PDFDocument.PageLayout.swift",
"PDFDocument.PageNumberStyle.swift",
"PDFDocument.Permissions.swift",
"PDFDocument.swift",
"PDFError.swift",
"PDFPage.Direction.swift",
"PDFPage.Size.swift",
"PDFPage.swift",
"Sequence.swift",
"TextAlignment.swift",
"Unimplemented.swift"
],
"target_dependencies" : [
"CLibHaru"
],
"type" : "library"
},
{
"c99name" : "CLibPNG",
"module_type" : "ClangTarget",
"name" : "CLibPNG",
"path" : "Sources/CLibPNG",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"png.c",
"pngerror.c",
"pngget.c",
"pngmem.c",
"pngpread.c",
"pngread.c",
"pngrio.c",
"pngrtran.c",
"pngrutil.c",
"pngset.c",
"pngtrans.c",
"pngwio.c",
"pngwrite.c",
"pngwtran.c",
"pngwutil.c"
],
"type" : "library"
},
{
"c99name" : "CLibHaru",
"module_type" : "ClangTarget",
"name" : "CLibHaru",
"path" : "Sources/CLibHaru",
"product_memberships" : [
"SwiftyHaru"
],
"sources" : [
"hpdf_3dmeasure.c",
"hpdf_annotation.c",
"hpdf_array.c",
"hpdf_binary.c",
"hpdf_boolean.c",
"hpdf_catalog.c",
"hpdf_destination.c",
"hpdf_dict.c",
"hpdf_doc.c",
"hpdf_doc_png.c",
"hpdf_dummy.c",
"hpdf_encoder.c",
"hpdf_encoder_cns.c",
"hpdf_encoder_cnt.c",
"hpdf_encoder_jp.c",
"hpdf_encoder_kr.c",
"hpdf_encoder_utf.c",
"hpdf_encrypt.c",
"hpdf_encryptdict.c",
"hpdf_error.c",
"hpdf_exdata.c",
"hpdf_ext_gstate.c",
"hpdf_font.c",
"hpdf_font_cid.c",
"hpdf_font_tt.c",
"hpdf_font_type1.c",
"hpdf_fontdef.c",
"hpdf_fontdef_base14.c",
"hpdf_fontdef_cid.c",
"hpdf_fontdef_cns.c",
"hpdf_fontdef_cnt.c",
"hpdf_fontdef_jp.c",
"hpdf_fontdef_kr.c",
"hpdf_fontdef_tt.c",
"hpdf_fontdef_type1.c",
"hpdf_gstate.c",
"hpdf_image.c",
"hpdf_image_ccitt.c",
"hpdf_image_png.c",
"hpdf_info.c",
"hpdf_list.c",
"hpdf_mmgr.c",
"hpdf_name.c",
"hpdf_namedict.c",
"hpdf_null.c",
"hpdf_number.c",
"hpdf_objects.c",
"hpdf_outline.c",
"hpdf_page_label.c",
"hpdf_page_operator.c",
"hpdf_pages.c",
"hpdf_pdfa.c",
"hpdf_real.c",
"hpdf_streams.c",
"hpdf_string.c",
"hpdf_u3d.c",
"hpdf_utils.c",
"hpdf_xref.c"
],
"target_dependencies" : [
"CLibPNG"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.