Build Information
Failed to build swift-jpeg, reference master (a8fc86), with Swift 6.3 for Wasm on 30 Apr 2026 01:05:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.3-latest swift build --swift-sdk swift-6.3-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.3
Building package at path: $PWD
https://github.com/tayloraswift/swift-jpeg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/ordo-one/dollup
[1/35] Fetching dollup
Fetched https://github.com/ordo-one/dollup from cache (0.24s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.6 (0.62s)
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.81s)
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] Compiling JPEGInspection Highlight.swift
[22/75] Emitting module JPEGInspection
[24/76] Compiling JPEG metadata.swift
[25/76] Compiling JPEG debug.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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 common.swift
[31/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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 | }
[32/76] Compiling JPEG decode.swift
[33/77] Wrapping AST for JPEG for debugging
[35/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 | """
[36/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 | """
[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) {
| `- 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'")
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) {
| `- 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'")
[40/102] Emitting module JPEGFuzzer
[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 | }
[42/102] Emitting module Rotate
BUILD FAILURE 6.3 wasm