Build Information
Failed to build swift-jpeg, reference master (a8fc86), with Swift 6.2 for Wasm on 30 Apr 2026 01:05:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-jpeg.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tayloraswift/swift-jpeg
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a8fc868 [autosync]
Cloned https://github.com/tayloraswift/swift-jpeg.git
Revision (git rev-parse @):
a8fc86809f2a1b58bdeb25e4b574bbc106a4e5dc
SUCCESS checkout https://github.com/tayloraswift/swift-jpeg.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tayloraswift/swift-jpeg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/ordo-one/dollup
[1/35] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.19s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.6 (1.13s)
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.0.6
Downloading binary artifact https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip
[1360/13038536] Downloading https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip
Downloaded https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip (1.78s)
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/tests/fuzz/data': File not found.
[1/1] Compiling plugin DollupPlugin
Building for debugging...
[1/64] Write sources
[18/64] Write swift-version-24593BA9C3E375BF.txt
[20/75] Compiling JPEGInspection String (ext).swift
[21/75] Emitting module JPEGInspection
[22/75] Compiling JPEGInspection Highlight.swift
[24/76] Emitting module JPEG
/host/spi-builder-workspace/Sources/JPEG/error.swift:199:14: warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
197 | /// - Parameter process:
198 | /// The coding process specified by the frame header.
199 | case invalidFrameQuantizationSelector(JPEG.Table.Quantization.Selector, Process)
| `- warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
200 | /// A component in a frame header had an invalid sampling factor.
201 | ///
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:230:14: warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
228 | /// - Parameter process:
229 | /// The coding process specified by the frame header.
230 | case invalidScanHuffmanDCSelector(JPEG.Table.HuffmanDC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
231 | /// A component in a frame header segment used an AC huffman table
232 | /// selector which is well-formed but unavailable given the frame header coding process.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:239:14: warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
237 | /// - Parameter process:
238 | /// The coding process specified by the frame header.
239 | case invalidScanHuffmanACSelector(JPEG.Table.HuffmanAC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
240 | /// A scan header had more that the maximum allowed number of components
241 | /// given the image coding process.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:611:14: warning: associated value 'undefinedScanHuffmanDCReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
609 | /// - Parameter _:
610 | /// The table selector.
611 | case undefinedScanHuffmanDCReference(Table.HuffmanDC.Selector)
| `- warning: associated value 'undefinedScanHuffmanDCReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
612 | /// An AC huffman table selector in a scan referenced a table
613 | /// slot with no bound table.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:617:14: warning: associated value 'undefinedScanHuffmanACReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
615 | /// - Parameter _:
616 | /// The table selector.
617 | case undefinedScanHuffmanACReference(Table.HuffmanAC.Selector)
| `- warning: associated value 'undefinedScanHuffmanACReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
618 | /// A quantization table selector in the first scan for a particular
619 | /// component referenced a table slot with no bound table.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:623:14: warning: associated value 'undefinedScanQuantizationReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
621 | /// - Parameter _:
622 | /// The table selector.
623 | case undefinedScanQuantizationReference(Table.Quantization.Selector)
| `- warning: associated value 'undefinedScanQuantizationReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
624 | /// A quantization table had the wrong precision mode for the image
625 | /// color format.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[25/76] Compiling JPEG metadata.swift
[25/76] Wrapping AST for JPEGInspection for debugging
[27/76] Compiling JPEG error.swift
/host/spi-builder-workspace/Sources/JPEG/error.swift:199:14: warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
197 | /// - Parameter process:
198 | /// The coding process specified by the frame header.
199 | case invalidFrameQuantizationSelector(JPEG.Table.Quantization.Selector, Process)
| `- warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
200 | /// A component in a frame header had an invalid sampling factor.
201 | ///
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:230:14: warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
228 | /// - Parameter process:
229 | /// The coding process specified by the frame header.
230 | case invalidScanHuffmanDCSelector(JPEG.Table.HuffmanDC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
231 | /// A component in a frame header segment used an AC huffman table
232 | /// selector which is well-formed but unavailable given the frame header coding process.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:239:14: warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
237 | /// - Parameter process:
238 | /// The coding process specified by the frame header.
239 | case invalidScanHuffmanACSelector(JPEG.Table.HuffmanAC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' contains non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
240 | /// A scan header had more that the maximum allowed number of components
241 | /// given the image coding process.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:611:14: warning: associated value 'undefinedScanHuffmanDCReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
609 | /// - Parameter _:
610 | /// The table selector.
611 | case undefinedScanHuffmanDCReference(Table.HuffmanDC.Selector)
| `- warning: associated value 'undefinedScanHuffmanDCReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanDC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.DC>>>')
612 | /// An AC huffman table selector in a scan referenced a table
613 | /// slot with no bound table.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:617:14: warning: associated value 'undefinedScanHuffmanACReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
615 | /// - Parameter _:
616 | /// The table selector.
617 | case undefinedScanHuffmanACReference(Table.HuffmanAC.Selector)
| `- warning: associated value 'undefinedScanHuffmanACReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.HuffmanAC.Selector' (aka 'WritableKeyPath<(Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>, Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>), Optional<JPEG.Table.Huffman<JPEG.Bitstream.Symbol.AC>>>')
618 | /// A quantization table selector in the first scan for a particular
619 | /// component referenced a table slot with no bound table.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/JPEG/error.swift:623:14: warning: associated value 'undefinedScanQuantizationReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
621 | /// - Parameter _:
622 | /// The table selector.
623 | case undefinedScanQuantizationReference(Table.Quantization.Selector)
| `- warning: associated value 'undefinedScanQuantizationReference' of 'Sendable'-conforming enum 'DecodingError' has non-Sendable type 'JPEG.Table.Quantization.Selector' (aka 'WritableKeyPath<(Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>, Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>), Optional<(q: Int, qi: JPEG.Table.Quantization.Key)>>')
624 | /// A quantization table had the wrong precision mode for the image
625 | /// color format.
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
| `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[28/76] Compiling JPEG jpeg.swift
[29/76] Compiling JPEG encode.swift
/host/spi-builder-workspace/Sources/JPEG/encode.swift:445:49: warning: use of protocol 'JPEG.Error' as a type must be written 'any JPEG.Error'; this will be an error in a future Swift language mode [#ExistentialAny]
443 | // there are only a few ways validation can fail, and all of them
444 | // are programmer errors (zero width, broken `Format` implementation)
445 | preconditionFailure((error as? JPEG.Error)?.message ?? "\(error)")
| `- warning: use of protocol 'JPEG.Error' as a type must be written 'any JPEG.Error'; this will be an error in a future Swift language mode [#ExistentialAny]
446 | }
447 | }
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[30/76] Compiling JPEG debug.swift
[31/76] Compiling JPEG common.swift
[32/76] Compiling JPEG decode.swift
[33/77] Wrapping AST for JPEG for debugging
[35/79] Emitting module JPEGSystem
/host/spi-builder-workspace/Sources/JPEGSystem/os.swift:17:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
15 | #else
16 | #warning(
17 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
18 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
19 | """
[36/79] Compiling JPEGSystem os.swift
/host/spi-builder-workspace/Sources/JPEGSystem/os.swift:17:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
15 | #else
16 | #warning(
17 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
18 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-jpeg/issues)
19 | """
[37/80] Wrapping AST for JPEGSystem for debugging
[39/102] Emitting module Rotate
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/102] Emitting module InMemory
/host/spi-builder-workspace/Snippets/InMemory.swift:4:11: error: cannot find type 'System' in scope
2 | import JPEGSystem
3 |
4 | extension System {
| `- error: cannot find type 'System' in scope
5 | struct Blob {
6 | private(set) var data: [UInt8],
/host/spi-builder-workspace/Snippets/InMemory.swift:10:11: error: cannot find type 'System' in scope
8 | }
9 | }
10 | extension System.Blob: JPEG.Bytestream.Source, JPEG.Bytestream.Destination {
| `- error: cannot find type 'System' in scope
11 | init(_ data: [UInt8]) {
12 | self.data = data
/host/spi-builder-workspace/Snippets/InMemory.swift:36:5: error: cannot find 'System' in scope
34 | let path: String = "examples/in-memory/karlie-2011.jpg"
35 | guard let data: [UInt8] = (
36 | System.File.Source.open(path: path) {
| `- error: cannot find 'System' in scope
37 | (source: inout System.File.Source) -> [UInt8]? in
38 |
/host/spi-builder-workspace/Snippets/InMemory.swift:37:24: error: cannot find type 'System' in scope
35 | guard let data: [UInt8] = (
36 | System.File.Source.open(path: path) {
37 | (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
38 |
39 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:48:11: error: cannot find type 'System' in scope
46 | }
47 |
48 | var blob: System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
49 | // read from blob
50 | let spectral: JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/Snippets/InMemory.swift:54:5: error: cannot find 'System' in scope
52 | let rgb: [JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
53 | guard let _: Void = (
54 | System.File.Destination.open(path: "\(path).rgb") {
| `- error: cannot find 'System' in scope
55 | guard let _: Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] }) else {
56 | fatalError("failed to write to file '\(path).rgb'")
/host/spi-builder-workspace/Snippets/InMemory.swift:67:5: error: cannot find 'System' in scope
65 | try spectral.compress(stream: &blob)
66 | guard let _: Void = (
67 | System.File.Destination.open(path: "\(path).jpg") {
| `- error: cannot find 'System' in scope
68 | guard let _: Void = $0.write(blob.data) else {
69 | fatalError("failed to write to file '\(path).jpg'")
[41/102] Compiling InMemory InMemory.swift
/host/spi-builder-workspace/Snippets/InMemory.swift:4:11: error: cannot find type 'System' in scope
2 | import JPEGSystem
3 |
4 | extension System {
| `- error: cannot find type 'System' in scope
5 | struct Blob {
6 | private(set) var data: [UInt8],
/host/spi-builder-workspace/Snippets/InMemory.swift:10:11: error: cannot find type 'System' in scope
8 | }
9 | }
10 | extension System.Blob: JPEG.Bytestream.Source, JPEG.Bytestream.Destination {
| `- error: cannot find type 'System' in scope
11 | init(_ data: [UInt8]) {
12 | self.data = data
/host/spi-builder-workspace/Snippets/InMemory.swift:36:5: error: cannot find 'System' in scope
34 | let path: String = "examples/in-memory/karlie-2011.jpg"
35 | guard let data: [UInt8] = (
36 | System.File.Source.open(path: path) {
| `- error: cannot find 'System' in scope
37 | (source: inout System.File.Source) -> [UInt8]? in
38 |
/host/spi-builder-workspace/Snippets/InMemory.swift:37:24: error: cannot find type 'System' in scope
35 | guard let data: [UInt8] = (
36 | System.File.Source.open(path: path) {
37 | (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
38 |
39 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:48:11: error: cannot find type 'System' in scope
46 | }
47 |
48 | var blob: System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
49 | // read from blob
50 | let spectral: JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/Snippets/InMemory.swift:54:5: error: cannot find 'System' in scope
52 | let rgb: [JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
53 | guard let _: Void = (
54 | System.File.Destination.open(path: "\(path).rgb") {
| `- error: cannot find 'System' in scope
55 | guard let _: Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] }) else {
56 | fatalError("failed to write to file '\(path).rgb'")
/host/spi-builder-workspace/Snippets/InMemory.swift:67:5: error: cannot find 'System' in scope
65 | try spectral.compress(stream: &blob)
66 | guard let _: Void = (
67 | System.File.Destination.open(path: "\(path).jpg") {
| `- error: cannot find 'System' in scope
68 | guard let _: Void = $0.write(blob.data) else {
69 | fatalError("failed to write to file '\(path).jpg'")
[42/102] Compiling JPEGFuzzer main.swift
/host/spi-builder-workspace/tests/fuzz/main.swift:82:38: error: instance method 'compress(stream:)' requires that 'String' conform to 'JPEG.Bytestream.Destination'
80 | )
81 |
82 | guard let _: Void = try spectral.compress(path: path) else {
| `- error: instance method 'compress(stream:)' requires that 'String' conform to 'JPEG.Bytestream.Destination'
83 | fatalError("failed to open file '\(path)'")
84 | }
/host/spi-builder-workspace/Sources/JPEG/encode.swift:1650:17: note: where 'Destination' = 'String'
1648 | /// - Parameter stream:
1649 | /// A destination bytestream.
1650 | public func compress<Destination>(stream: inout Destination) throws
| `- note: where 'Destination' = 'String'
1651 | where Destination: JPEG.Bytestream.Destination {
1652 | try stream.format(marker: .start)
/host/spi-builder-workspace/tests/fuzz/main.swift:82:46: error: incorrect argument label in call (have 'path:', expected 'stream:')
80 | )
81 |
82 | guard let _: Void = try spectral.compress(path: path) else {
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
83 | fatalError("failed to open file '\(path)'")
84 | }
/host/spi-builder-workspace/tests/fuzz/main.swift:109:31: error: extra argument 'path' in call
107 |
108 | guard let rectangular: JPEG.Data.Rectangular<JPEG.Common> =
109 | try .decompress(path: path) else {
| `- error: extra argument 'path' in call
110 | fatalError("failed to open file '\(path)'")
111 | }
[43/102] Emitting module JPEGFuzzer
/host/spi-builder-workspace/tests/compare/main.swift:7:27: error: extra argument 'path' in call
5 | func discrepancy(jpeg: String, reference: String) throws -> (average: Double, max: Double) {
6 | guard let rectangular: JPEG.Data.Rectangular<JPEG.Common> =
7 | try .decompress(path: jpeg) else {
| `- error: extra argument 'path' in call
8 | fatalError("failed to open file '\(jpeg)'")
9 | }
/host/spi-builder-workspace/tests/compare/main.swift:13:9: error: cannot find 'System' in scope
11 | let output: [JPEG.YCbCr] = rectangular.unpack(as: JPEG.YCbCr.self)
12 | guard let expected: [JPEG.YCbCr] = (
13 | System.File.Source.open(path: reference) {
| `- error: cannot find 'System' in scope
14 | guard let data: [UInt8] = $0.read(count: 3 * output.count) else {
15 | fatalError("failed to read file '\(reference)'")
BUILD FAILURE 6.2 wasm