Build Information
Failed to build swift-jpeg, reference master (b659ce), with Swift 6.2 for Wasm on 10 Nov 2026 01:15:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 b659ced Merge pull request #37 from tayloraswift/dollup-formatting
Cloned https://github.com/tayloraswift/swift-jpeg.git
Revision (git rev-parse @):
b659ced506b9770e06dccc14512b05bb7da4c582
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-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/ordo-one/dollup
[1/68] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.38s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.3.4 (0.53s)
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.3.4
Downloading binary artifact https://get.rarestype.com/dollup/1.3.4/Linux-x86_64/dollup.artifactbundle.zip
[16384/17468020] Downloading https://get.rarestype.com/dollup/1.3.4/Linux-x86_64/dollup.artifactbundle.zip
Downloaded https://get.rarestype.com/dollup/1.3.4/Linux-x86_64/dollup.artifactbundle.zip (1.03s)
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 JPEG metadata.swift
[21/75] Compiling JPEGInspection Highlight.swift
[22/75] Emitting module JPEGInspection
[23/75] Compiling JPEGInspection String (ext).swift
[24/76] Wrapping AST for JPEGInspection for debugging
[26/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 | }
[27/76] Compiling JPEG common.swift
[28/76] Compiling JPEG debug.swift
[29/76] Compiling JPEG jpeg.swift
[30/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 | }
[31/76] Compiling JPEG decode.swift
[32/76] Compiling JPEG encode.swift
/host/spi-builder-workspace/Sources/JPEG/encode.swift:446: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]
444 | // there are only a few ways validation can fail, and all of them
445 | // are programmer errors (zero width, broken `Format` implementation)
446 | 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]
447 | }
448 | }
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[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 | """
[38/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) { (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find 'System' in scope
37 |
38 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:36:58: error: cannot find type '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) { (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
37 |
38 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:47:11: error: cannot find type 'System' in scope
45 | }
46 |
47 | var blob: System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
48 | // read from blob
49 | let spectral: JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/Snippets/InMemory.swift:53:5: error: cannot find 'System' in scope
51 | let rgb: [JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
52 | guard let _: Void = (
53 | System.File.Destination.open(path: "\(path).rgb") {
| `- error: cannot find 'System' in scope
54 | guard let _: Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] }) else {
55 | fatalError("failed to write to file '\(path).rgb'")
/host/spi-builder-workspace/Snippets/InMemory.swift:66:5: error: cannot find 'System' in scope
64 | try spectral.compress(stream: &blob)
65 | guard let _: Void = (
66 | System.File.Destination.open(path: "\(path).jpg") {
| `- error: cannot find 'System' in scope
67 | guard let _: Void = $0.write(blob.data) else {
68 | fatalError("failed to write to file '\(path).jpg'")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/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) { (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find 'System' in scope
37 |
38 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:36:58: error: cannot find type '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) { (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
37 |
38 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/InMemory.swift:47:11: error: cannot find type 'System' in scope
45 | }
46 |
47 | var blob: System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
48 | // read from blob
49 | let spectral: JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/Snippets/InMemory.swift:53:5: error: cannot find 'System' in scope
51 | let rgb: [JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
52 | guard let _: Void = (
53 | System.File.Destination.open(path: "\(path).rgb") {
| `- error: cannot find 'System' in scope
54 | guard let _: Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] }) else {
55 | fatalError("failed to write to file '\(path).rgb'")
/host/spi-builder-workspace/Snippets/InMemory.swift:66:5: error: cannot find 'System' in scope
64 | try spectral.compress(stream: &blob)
65 | guard let _: Void = (
66 | System.File.Destination.open(path: "\(path).jpg") {
| `- error: cannot find 'System' in scope
67 | guard let _: Void = $0.write(blob.data) else {
68 | fatalError("failed to write to file '\(path).jpg'")
/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:1657:17: note: where 'Destination' = 'String'
1655 | /// - Parameter stream:
1656 | /// A destination bytestream.
1657 | public func compress<Destination>(stream: inout Destination) throws
| `- note: where 'Destination' = 'String'
1658 | where Destination: JPEG.Bytestream.Destination {
1659 | 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 | }
[40/102] Emitting module Rotate
[41/102] Emitting module JPEGComparator
/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 | }
BUILD FAILURE 6.2 wasm