Build Information
Failed to build swift-png, reference master (d444d9
), with Swift 6.1 for Wasm on 30 May 2025 05:46:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
28 | case required(chunk:PNG.Chunk, before:PNG.Chunk)
29 | case duplicate(chunk:PNG.Chunk)
30 | case unexpected(chunk:PNG.Chunk, after:PNG.Chunk)
| `- warning: associated value 'unexpected(chunk:after:)' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'PNG.Chunk'; this is an error in the Swift 6 language mode
31 |
32 | /// The decoder finished processing the last ``Chunk/IDAT`` chunk
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:5:12: note: consider making struct 'Chunk' conform to the 'Sendable' protocol
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
[130/187] Compiling PNG PNG.PhysicalDimensions.swift
[131/187] Compiling PNG PNG.SignificantBits.Case.swift
[132/187] Compiling PNG PNG.SignificantBits.swift
[133/187] Compiling PNG PNG.SuggestedPalette.Entries.swift
[134/187] Compiling PNG PNG.SuggestedPalette.swift
[135/187] Compiling PNG PNG.Text.swift
[136/187] Compiling PNG PNG.swift
[137/187] Compiling PNG PNG.Background.Case.swift
[138/187] Compiling PNG PNG.Background.swift
[139/187] Compiling PNG PNG.Chromaticity.swift
[140/187] Compiling PNG PNG.ColorProfile.swift
[141/187] Compiling PNG PNG.ColorRendering.swift
[142/187] Compiling PNG PNG.BytestreamDestination.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[143/187] Compiling PNG PNG.BytestreamSource.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[144/187] Compiling PNG PNG.Chunk.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[145/187] Compiling PNG PNG.LexingError.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[146/187] Compiling PNG PNG.Error.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[147/187] Compiling PNG PNG.Image.swift
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:94:13: warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
92 | /// The numerical type code for this type identifier is `0x43674249`.
93 | public static
94 | let CgBI:Self = .init(unchecked: 0x43_67_42_49)
| |- warning: static property 'CgBI' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'CgBI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | /// The `IHDR` chunk type.
96 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:99:13: warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
97 | /// The numerical type code for this type identifier is `0x49484452`.
98 | public static
99 | let IHDR:Self = .init(unchecked: 0x49_48_44_52)
| |- warning: static property 'IHDR' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IHDR' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// The `PLTE` chunk type.
101 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:104:13: warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
102 | /// The numerical type code for this type identifier is `0x504c5445`.
103 | public static
104 | let PLTE:Self = .init(unchecked: 0x50_4c_54_45)
| |- warning: static property 'PLTE' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'PLTE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// The `IDAT` chunk type.
106 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:109:13: warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
107 | /// The numerical type code for this type identifier is `0x49444154`.
108 | public static
109 | let IDAT:Self = .init(unchecked: 0x49_44_41_54)
| |- warning: static property 'IDAT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IDAT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | /// The `IEND` chunk type.
111 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:114:13: warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
112 | /// The numerical type code for this type identifier is `0x49454e44`.
113 | public static
114 | let IEND:Self = .init(unchecked: 0x49_45_4e_44)
| |- warning: static property 'IEND' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'IEND' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// The `cHRM` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:120:13: warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
118 | /// The numerical type code for this type identifier is `0x6348524d`.
119 | public static
120 | let cHRM:Self = .init(unchecked: 0x63_48_52_4d)
| |- warning: static property 'cHRM' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cHRM' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | /// The `gAMA` chunk type.
122 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:125:13: warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
123 | /// The numerical type code for this type identifier is `0x67414d41`.
124 | public static
125 | let gAMA:Self = .init(unchecked: 0x67_41_4d_41)
| |- warning: static property 'gAMA' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gAMA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// The `iCCP` chunk type.
127 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:130:13: warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
128 | /// The numerical type code for this type identifier is `0x69434350`.
129 | public static
130 | let iCCP:Self = .init(unchecked: 0x69_43_43_50)
| |- warning: static property 'iCCP' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iCCP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | /// The `sBIT` chunk type.
132 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:135:13: warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
133 | /// The numerical type code for this type identifier is `0x73424954`.
134 | public static
135 | let sBIT:Self = .init(unchecked: 0x73_42_49_54)
| |- warning: static property 'sBIT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sBIT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | /// The `sRGB` chunk type.
137 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:140:13: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
138 | /// The numerical type code for this type identifier is `0x73524742`.
139 | public static
140 | let sRGB:Self = .init(unchecked: 0x73_52_47_42)
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | /// The `bKGD` chunk type.
142 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:145:13: warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
143 | /// The numerical type code for this type identifier is `0x624b4744`.
144 | public static
145 | let bKGD:Self = .init(unchecked: 0x62_4b_47_44)
| |- warning: static property 'bKGD' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bKGD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// The `hIST` chunk type.
147 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:150:13: warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
148 | /// The numerical type code for this type identifier is `0x68495354`.
149 | public static
150 | let hIST:Self = .init(unchecked: 0x68_49_53_54)
| |- warning: static property 'hIST' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hIST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | /// The `tRNS` chunk type.
152 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:155:13: warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
153 | /// The numerical type code for this type identifier is `0x74524e53`.
154 | public static
155 | let tRNS:Self = .init(unchecked: 0x74_52_4e_53)
| |- warning: static property 'tRNS' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tRNS' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// The `pHYs` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:161:13: warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
159 | /// The numerical type code for this type identifier is `0x70485973`.
160 | public static
161 | let pHYs:Self = .init(unchecked: 0x70_48_59_73)
| |- warning: static property 'pHYs' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pHYs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// The `sPLT` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:167:13: warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
165 | /// The numerical type code for this type identifier is `0x73504c54`.
166 | public static
167 | let sPLT:Self = .init(unchecked: 0x73_50_4c_54)
| |- warning: static property 'sPLT' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sPLT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | /// The `tIME` chunk type.
169 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:172:13: warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
170 | /// The numerical type code for this type identifier is `0x74494d45`.
171 | public static
172 | let tIME:Self = .init(unchecked: 0x74_49_4d_45)
| |- warning: static property 'tIME' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tIME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 |
174 | /// The `iTXt` chunk type.
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:178:13: warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
176 | /// The numerical type code for this type identifier is `0x69545874`.
177 | public static
178 | let iTXt:Self = .init(unchecked: 0x69_54_58_74)
| |- warning: static property 'iTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | /// The `tEXt` chunk type.
180 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:183:13: warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
181 | /// The numerical type code for this type identifier is `0x74455874`.
182 | public static
183 | let tEXt:Self = .init(unchecked: 0x74_45_58_74)
| |- warning: static property 'tEXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tEXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// The `zTXt` chunk type.
185 | ///
/host/spi-builder-workspace/Sources/PNG/Lexing/PNG.Chunk.swift:188:13: warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// A chunk type identifier.
4 | public
5 | struct Chunk:Hashable, Equatable, CustomStringConvertible
| `- note: consider making struct 'Chunk' conform to the 'Sendable' protocol
6 | {
7 | /// The chunk type code.
:
186 | /// The numerical type code for this type identifier is `0x7a545874`.
187 | public static
188 | let zTXt:Self = .init(unchecked: 0x7a_54_58_74)
| |- warning: static property 'zTXt' is not concurrency-safe because non-'Sendable' type 'PNG.Chunk' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zTXt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 | }
[149/206] Compiling PNGDecompressionBenchmarks Main.swift
/host/spi-builder-workspace/Benchmarks/Decompression/Swift/Main.swift:27:14: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
25 |
26 | #else
27 | #warning("clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | #endif
29 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/206] Emitting module iPhoneOptimized
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:20:35: error: cannot infer key path type from context; consider explicitly specifying a root type
18 | // snippet.STRAIGHTEN
19 | let rgba:[PNG.RGBA<UInt8>] = image.unpack(
20 | as: PNG.RGBA<UInt8>.self).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
21 |
22 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:26: error: extra argument 'path' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
40 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:20: error: missing argument for parameter 'stream' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:11: error: generic parameter 'Destination' could not be inferred
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
[151/206] Compiling iPhoneOptimized iPhoneOptimized.swift
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:20:35: error: cannot infer key path type from context; consider explicitly specifying a root type
18 | // snippet.STRAIGHTEN
19 | let rgba:[PNG.RGBA<UInt8>] = image.unpack(
20 | as: PNG.RGBA<UInt8>.self).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
21 |
22 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:26: error: extra argument 'path' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
40 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:20: error: missing argument for parameter 'stream' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:11: error: generic parameter 'Destination' could not be inferred
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
[152/206] Emitting module PNGInspection
/host/spi-builder-workspace/Sources/PNGInspection/PNG.Metadata (ext).swift:3:1: warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.Metadata:CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public
/host/spi-builder-workspace/Sources/PNGInspection/PNG.SuggestedPalette (ext).swift:3:1: warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.SuggestedPalette:CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public
/host/spi-builder-workspace/Sources/PNGInspection/String (ext).swift:4:9: warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | {
3 | static
4 | var bold:Self = "\u{1B}[1m"
| |- warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bold' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static
6 | var reset:Self = "\u{1B}[0m"
/host/spi-builder-workspace/Sources/PNGInspection/String (ext).swift:6:9: warning: static property 'reset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | var bold:Self = "\u{1B}[1m"
5 | static
6 | var reset:Self = "\u{1B}[0m"
| |- warning: static property 'reset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'reset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | static
/host/spi-builder-workspace/Sources/PNGInspection/String (ext).swift:4:9: warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | {
3 | static
4 | var bold:Self = "\u{1B}[1m"
| |- warning: static property 'bold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bold' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static
6 | var reset:Self = "\u{1B}[0m"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/206] Emitting module StreamingGzip
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:7:25: error: cannot find 'System' in scope
5 |
6 | guard
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
| `- error: cannot find 'System' in scope
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:9:19: error: cannot find type 'System' in scope
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
10 |
11 | guard let count:Int = source.count
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:36:15: error: cannot find 'System' in scope
34 |
35 | // snippet.WRITE
36 | let _:Void? = System.File.Destination.open(path: "\(path).txt.gz")
| `- error: cannot find 'System' in scope
37 | {
38 | while let part:[UInt8] = deflator.pull()
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:7:25: error: cannot find 'System' in scope
5 |
6 | guard
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
| `- error: cannot find 'System' in scope
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/45] Write swift-version-24593BA9C3E375BF.txt
[2/47] Emitting module BaseDigits
[3/47] Compiling BaseDigits BaseDigits.swift
[5/52] Compiling Base16 Base16.UppercaseDigits.swift
[6/52] Compiling Base16 Base16.LowercaseDigits.swift
[7/52] Compiling Base16 Base16.Values.swift
[8/52] Compiling Base16 Base16.swift
[9/52] Emitting module Base16
[11/54] Emitting module CRC
[12/54] Compiling CRC CRC32.swift
[14/107] Emitting module LZ77
[15/114] Compiling LZ77 F14.District.Index.swift
[16/114] Compiling LZ77 F14.District.swift
[17/114] Compiling LZ77 F14.Hash.swift
[18/114] Compiling LZ77 F14.HashTable.swift
[19/114] Compiling LZ77 F14.swift
[20/114] Compiling LZ77 FixedWidthInteger (ext).swift
[21/114] Compiling LZ77 Gzip.Deflator.swift
[22/114] Compiling LZ77 Gzip.Format.Integral.swift
[23/114] Compiling LZ77 LZ77.Reversed.swift
[24/114] Compiling LZ77 LZ77.swift
[25/114] Compiling LZ77 SIMD16 (ext).swift
[26/114] Compiling LZ77 LZ77.Format.swift
[27/114] Compiling LZ77 LZ77.FormatType.swift
[28/114] Compiling LZ77 LZ77.MRC32.swift
[29/114] Compiling LZ77 LZ77.StreamIntegral.swift
[30/114] Compiling LZ77 LZ77.BlockShape.swift
[31/114] Compiling LZ77 LZ77.BlockState.swift
[32/114] Compiling LZ77 LZ77.BlockType.swift
[33/114] Compiling LZ77 LZ77.DecompressionError.swift
[34/114] Compiling LZ77 LZ77.Inflator.swift
[35/114] Compiling LZ77 LZ77.InflatorBuffers.Stream.swift
[36/114] Compiling LZ77 LZ77.InflatorBuffers.swift
[37/114] Compiling LZ77 Gzip.Format.swift
[38/114] Compiling LZ77 Gzip.Inflator.swift
[39/114] Compiling LZ77 Gzip.InflatorState.swift
[40/114] Compiling LZ77 Gzip.StreamHeader.swift
[41/114] Compiling LZ77 Gzip.StreamHeaderError.swift
[42/114] Compiling LZ77 Gzip.swift
[43/114] Compiling LZ77 LZ77.Codeword.swift
[44/114] Compiling LZ77 LZ77.DeflatorMatches.swift
[45/114] Compiling LZ77 LZ77.DeflatorOut.swift
[46/114] Compiling LZ77 LZ77.DeflatorSearch.swift
[47/114] Compiling LZ77 LZ77.DeflatorTables.swift
[48/114] Compiling LZ77 LZ77.DeflatorTerm.Meta.swift
[49/114] Compiling LZ77 LZ77.DeflatorTerm.swift
[50/114] Compiling LZ77 LZ77.DeflatorWindow.Element.swift
[51/114] Compiling LZ77 LZ77.DeflatorWindow.swift
[52/114] Compiling LZ77 LZ77.Decades.swift
[53/114] Compiling LZ77 LZ77.Deflator.swift
[54/114] Compiling LZ77 LZ77.DeflatorBuffers.Stream.swift
[55/114] Compiling LZ77 LZ77.DeflatorBuffers.swift
[56/114] Compiling LZ77 LZ77.DeflatorDicing.Node.swift
[57/114] Compiling LZ77 LZ77.DeflatorDicing.swift
[58/114] Compiling LZ77 LZ77.DeflatorIn.swift
[59/114] Compiling LZ77 LZ77.DeflatorMatches.Depths.swift
[60/114] Compiling LZ77 LZ77.InflatorIn.swift
[61/114] Compiling LZ77 LZ77.InflatorOut.swift
[62/114] Compiling LZ77 LZ77.InflatorState.swift
[63/114] Compiling LZ77 LZ77.InflatorTables.swift
[64/114] Compiling LZ77 LZ77.StreamHeader.swift
[65/114] Compiling LZ77 LZ77.StreamHeaderError.swift
[66/114] Compiling LZ77 LZ77.Composites.swift
[67/114] Compiling LZ77 LZ77.Distance.swift
[68/114] Compiling LZ77 LZ77.Heap.swift
[69/114] Compiling LZ77 LZ77.HuffmanPattern.swift
[70/114] Compiling LZ77 LZ77.HuffmanTree.swift
[71/114] Compiling LZ77 LZ77.Metaword.swift
[72/114] Compiling LZ77 LZ77.RunLiteral.swift
[73/114] Compiling LZ77 LZ77.BlockMetadata.swift
[74/115] Wrapping AST for LZ77 for debugging
[76/159] Emitting module PNG
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[77/165] Compiling PNG PNG.Gamma.swift
[78/165] Compiling PNG PNG.Header.swift
[79/165] Compiling PNG PNG.Histogram.swift
[80/165] Compiling PNG PNG.Palette.swift
[81/165] Compiling PNG PNG.ParsingError.swift
[82/165] Compiling PNG PNG.Percentmille.swift
[83/165] Compiling PNG PNG.Format.Pixel.swift
[84/165] Compiling PNG PNG.Format.swift
[85/165] Compiling PNG PNG.Layout.swift
[86/165] Compiling PNG General.swift
[87/165] Compiling PNG LZ77.DecompressionError (ext).swift
[88/165] Compiling PNG LZ77.DeflateHeaderError (ext).swift
[89/165] Compiling PNG PNG.TimeModified.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[90/165] Compiling PNG PNG.Transparency.Case.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[91/165] Compiling PNG PNG.Transparency.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[92/165] Compiling PNG System.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[93/165] Compiling PNG UnsafeMutableBufferPointer (ext).swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[94/165] Compiling PNG __Entrypoint.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:17:14: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
15 | import ucrt
16 | #else
17 | #warning("unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
18 | #endif
19 |
[95/165] Compiling PNG PNG.swift
[96/165] Compiling PNG PNG.Background.Case.swift
[97/165] Compiling PNG PNG.Background.swift
[98/165] Compiling PNG PNG.Chromaticity.swift
[99/165] Compiling PNG PNG.ColorProfile.swift
[100/165] Compiling PNG PNG.ColorRendering.swift
[101/165] Compiling PNG PNG.DecodingError.swift
[102/165] Compiling PNG PNG.Metadata.swift
[103/165] Compiling PNG PNG.Standard.swift
[104/165] Compiling PNG PNG.Encoder.Pass.swift
[105/165] Compiling PNG PNG.Encoder.swift
[106/165] Compiling PNG PNG.FormattingError.swift
[107/165] Compiling PNG PNG.BytestreamDestination.swift
[108/165] Compiling PNG PNG.BytestreamSource.swift
[109/165] Compiling PNG PNG.Chunk.swift
[110/165] Compiling PNG PNG.LexingError.swift
[111/165] Compiling PNG PNG.Error.swift
[112/165] Compiling PNG PNG.Image.swift
[113/165] Compiling PNG PNG.PhysicalDimensions.swift
[114/165] Compiling PNG PNG.SignificantBits.Case.swift
[115/165] Compiling PNG PNG.SignificantBits.swift
[116/165] Compiling PNG PNG.SuggestedPalette.Entries.swift
[117/165] Compiling PNG PNG.SuggestedPalette.swift
[118/165] Compiling PNG PNG.Text.swift
[119/165] Compiling PNG Array (ext).swift
[120/165] Compiling PNG ArraySlice (ext).swift
[121/165] Compiling PNG PNG.Color.swift
[122/165] Compiling PNG PNG.RGBA.swift
[123/165] Compiling PNG PNG.VA.swift
[124/165] Compiling PNG PNG.Context.swift
[125/165] Compiling PNG PNG.Decoder.swift
[127/184] Compiling PNGCompressionBenchmarks Main.swift
/host/spi-builder-workspace/Benchmarks/Compression/Swift/Main.swift:27:14: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
25 |
26 | #else
27 | #warning("clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | #endif
29 |
[128/184] Compiling iPhoneOptimized iPhoneOptimized.swift
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:20:35: error: cannot infer key path type from context; consider explicitly specifying a root type
18 | // snippet.STRAIGHTEN
19 | let rgba:[PNG.RGBA<UInt8>] = image.unpack(
20 | as: PNG.RGBA<UInt8>.self).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
21 |
22 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:26: error: extra argument 'path' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
40 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:20: error: missing argument for parameter 'stream' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:11: error: generic parameter 'Destination' could not be inferred
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
[129/184] Emitting module PNGDecompressionBenchmarks
/host/spi-builder-workspace/Benchmarks/Decompression/Swift/Main.swift:27:14: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
25 |
26 | #else
27 | #warning("clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | #endif
29 |
[130/184] Compiling PNGDecompressionBenchmarks Main.swift
/host/spi-builder-workspace/Benchmarks/Decompression/Swift/Main.swift:27:14: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
25 |
26 | #else
27 | #warning("clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | #endif
29 |
[131/184] Emitting module PNGInspection
/host/spi-builder-workspace/Sources/PNGInspection/PNG.Metadata (ext).swift:3:1: warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.Metadata:CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public
/host/spi-builder-workspace/Sources/PNGInspection/PNG.SuggestedPalette (ext).swift:3:1: warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.SuggestedPalette:CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public
[132/184] Emitting module PNGCompressionBenchmarks
/host/spi-builder-workspace/Benchmarks/Compression/Swift/Main.swift:27:14: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
25 |
26 | #else
27 | #warning("clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | #endif
29 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[133/186] Emitting module iPhoneOptimized
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:20:35: error: cannot infer key path type from context; consider explicitly specifying a root type
18 | // snippet.STRAIGHTEN
19 | let rgba:[PNG.RGBA<UInt8>] = image.unpack(
20 | as: PNG.RGBA<UInt8>.self).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
21 |
22 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:26: error: extra argument 'path' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
40 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:20: error: missing argument for parameter 'stream' in call
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:39:11: error: generic parameter 'Destination' could not be inferred
37 | layout: .init(format: .bgr8(palette: [], fill: nil, key: nil)))
38 |
39 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
40 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
[134/186] Compiling Indexing Indexing.swift
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | let image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:34: error: extra argument 'path' in call
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: extra argument 'path' in call
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:28: error: missing argument for parameter 'stream' in call
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: missing argument for parameter 'stream' in call
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:19: error: generic parameter 'Destination' could not be inferred
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: generic parameter 'Destination' could not be inferred
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:13: error: generic parameter 'Destination' could not be inferred
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: generic parameter 'Destination' could not be inferred
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:28: error: extra argument 'path' in call
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: extra argument 'path' in call
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:22: error: missing argument for parameter 'stream' in call
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: missing argument for parameter 'stream' in call
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
error: emit-module command failed with exit code 1 (use -v to see invocation)
[135/186] Emitting module OnlineDecoding
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:33: error: extra argument 'path' in call
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: extra argument 'path' in call
229 | counter += 1
230 | }
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:27: error: missing argument for parameter 'stream' in call
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: missing argument for parameter 'stream' in call
229 | counter += 1
230 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:18: error: generic parameter 'Destination' could not be inferred
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: generic parameter 'Destination' could not be inferred
229 | counter += 1
230 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:236:32: error: extra argument 'path' in call
234 | let progressive:PNG.Image = image.bindStorage(to: layout)
235 |
236 | try progressive.compress(path: "\(path)-progressive.png", hint: 1 << 12)
| `- error: extra argument 'path' in call
237 |
238 | // snippet.PROGRESSIVE
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:236:26: error: missing argument for parameter 'stream' in call
234 | let progressive:PNG.Image = image.bindStorage(to: layout)
235 |
236 | try progressive.compress(path: "\(path)-progressive.png", hint: 1 << 12)
| `- error: missing argument for parameter 'stream' in call
237 |
238 | // snippet.PROGRESSIVE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:236:17: error: generic parameter 'Destination' could not be inferred
234 | let progressive:PNG.Image = image.bindStorage(to: layout)
235 |
236 | try progressive.compress(path: "\(path)-progressive.png", hint: 1 << 12)
| `- error: generic parameter 'Destination' could not be inferred
237 |
238 | // snippet.PROGRESSIVE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:245:33: error: extra argument 'path' in call
243 | (snapshot:PNG.Image) in
244 |
245 | try snapshot.compress(path: "\(path)-progressive-\(counter).png")
| `- error: extra argument 'path' in call
246 | counter += 1
247 | }
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:245:27: error: missing argument for parameter 'stream' in call
243 | (snapshot:PNG.Image) in
244 |
245 | try snapshot.compress(path: "\(path)-progressive-\(counter).png")
| `- error: missing argument for parameter 'stream' in call
246 | counter += 1
247 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:245:18: error: generic parameter 'Destination' could not be inferred
243 | (snapshot:PNG.Image) in
244 |
245 | try snapshot.compress(path: "\(path)-progressive-\(counter).png")
| `- error: generic parameter 'Destination' could not be inferred
246 | counter += 1
247 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:257:33: error: extra argument 'path' in call
255 | (snapshot:PNG.Image) in
256 |
257 | try snapshot.compress(path: "\(path)-progressive-overdrawn-\(counter).png")
| `- error: extra argument 'path' in call
258 | counter += 1
259 | }
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:257:27: error: missing argument for parameter 'stream' in call
255 | (snapshot:PNG.Image) in
256 |
257 | try snapshot.compress(path: "\(path)-progressive-overdrawn-\(counter).png")
| `- error: missing argument for parameter 'stream' in call
258 | counter += 1
259 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:257:18: error: generic parameter 'Destination' could not be inferred
255 | (snapshot:PNG.Image) in
256 |
257 | try snapshot.compress(path: "\(path)-progressive-overdrawn-\(counter).png")
| `- error: generic parameter 'Destination' could not be inferred
258 | counter += 1
259 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
[136/186] Compiling StreamingGzip StreamingGzip.swift
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:7:25: error: cannot find 'System' in scope
5 |
6 | guard
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
| `- error: cannot find 'System' in scope
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:9:19: error: cannot find type 'System' in scope
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
10 |
11 | guard let count:Int = source.count
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:36:15: error: cannot find 'System' in scope
34 |
35 | // snippet.WRITE
36 | let _:Void? = System.File.Destination.open(path: "\(path).txt.gz")
| `- error: cannot find 'System' in scope
37 | {
38 | while let part:[UInt8] = deflator.pull()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[137/186] Emitting module Indexing
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:9:38: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | let image:PNG.Image = try .decompress(path: "\(path).png")
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | else
11 | {
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:34: error: extra argument 'path' in call
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: extra argument 'path' in call
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:28: error: missing argument for parameter 'stream' in call
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: missing argument for parameter 'stream' in call
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:86:19: error: generic parameter 'Destination' could not be inferred
84 | let visualization:PNG.Image = .init(packing: swatch, size: (256, 16),
85 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil)))
86 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: generic parameter 'Destination' could not be inferred
87 |
88 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:13: error: generic parameter 'Destination' could not be inferred
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: generic parameter 'Destination' could not be inferred
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:28: error: extra argument 'path' in call
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: extra argument 'path' in call
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:96:22: error: missing argument for parameter 'stream' in call
94 | }
95 | // snippet.COMPRESS_EXAMPLE
96 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: missing argument for parameter 'stream' in call
97 | // snippet.UNPACK_EXAMPLE
98 | let indices:[UInt8] = indexed.unpack(as: UInt8.self)
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
[138/186] Compiling PNGInspection PNG.SuggestedPalette (ext).swift
/host/spi-builder-workspace/Sources/PNGInspection/PNG.SuggestedPalette (ext).swift:3:1: warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.SuggestedPalette:CustomStringConvertible
| |- warning: extension declares a conformance of imported type 'SuggestedPalette' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | {
5 | public
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/186] Emitting module StreamingGzip
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:7:25: error: cannot find 'System' in scope
5 |
6 | guard
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
| `- error: cannot find 'System' in scope
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:9:19: error: cannot find type 'System' in scope
7 | let original:[UInt8] = (System.File.Source.open(path: "\(path).gz")
8 | {
9 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
10 |
11 | guard let count:Int = source.count
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:36:15: error: cannot find 'System' in scope
34 |
35 | // snippet.WRITE
36 | let _:Void? = System.File.Destination.open(path: "\(path).txt.gz")
| `- error: cannot find 'System' in scope
37 | {
38 | while let part:[UInt8] = deflator.pull()
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:18: error: generic parameter 'Destination' could not be inferred
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: generic parameter 'Destination' could not be inferred
229 | counter += 1
230 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: in call to function 'compress(stream:level:hint:)'
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: in call to function 'compress(stream:level:hint:)'
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:33: error: extra argument 'path' in call
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: extra argument 'path' in call
229 | counter += 1
230 | }
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:228:27: error: missing argument for parameter 'stream' in call
226 | let _:[PNG.RGBA<UInt8>] = snapshot.unpack(as: PNG.RGBA<UInt8>.self)
227 |
228 | try snapshot.compress(path: "\(path)-\(counter).png")
| `- error: missing argument for parameter 'stream' in call
229 | counter += 1
230 | }
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:236:32: error: extra argument 'path' in call
234 | let progressive:PNG.Image = image.bindStorage(to: layout)
235 |
236 | try progressive.compress(path: "\(path)-progressive.png", hint: 1 << 12)
| `- error: extra argument 'path' in call
237 |
238 | // snippet.PROGRESSIVE
/host/spi-builder-workspace/Snippets/PNG/OnlineDecoding.swift:236:26: error: missing argument for parameter 'stream' in call
234 | let progressive:PNG.Image = image.bindStorage(to: layout)
235 |
236 | try progressive.compress(path: "\(path)-progressive.png", hint: 1 << 12)
| `- error: missing argument for parameter 'stream' in call
237 |
238 | // snippet.PROGRESSIVE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:576:10: note: 'compress(stream:level:hint:)' declared here
574 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
575 | public
576 | func compress<Destination>(stream:inout Destination, level:Int = 9, hint:Int = 1 << 15)
| `- note: 'compress(stream:level:hint:)' declared here
577 | throws
578 | where Destination:PNG.BytestreamDestination
[141/186] Emitting module StreamingZlib
BUILD FAILURE 6.1 wasm