Build Information
Failed to build jpeg, reference master (97e2e7
), with Swift 6.1 for Android on 30 May 2025 05:43:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/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/stackotter/jpeg
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 97e2e75 Update utils scripts to hopefully work on Linux again
Cloned https://github.com/stackotter/jpeg.git
Revision (git rev-parse @):
97e2e757ea7e7421be54f09345abf1019e12b519
SUCCESS checkout https://github.com/stackotter/jpeg.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/stackotter/jpeg.git
https://github.com/stackotter/jpeg.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "jpeg",
"name" : "jpeg",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JPEG",
"targets" : [
"JPEG"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "unit-test",
"targets" : [
"unit-test"
],
"type" : {
"executable" : null
}
},
{
"name" : "rotate",
"targets" : [
"rotate"
],
"type" : {
"executable" : null
}
},
{
"name" : "regression-test",
"targets" : [
"regression-test"
],
"type" : {
"executable" : null
}
},
{
"name" : "recompress",
"targets" : [
"recompress"
],
"type" : {
"executable" : null
}
},
{
"name" : "integration-test",
"targets" : [
"integration-test"
],
"type" : {
"executable" : null
}
},
{
"name" : "in-memory",
"targets" : [
"in-memory"
],
"type" : {
"executable" : null
}
},
{
"name" : "fuzzer",
"targets" : [
"fuzzer"
],
"type" : {
"executable" : null
}
},
{
"name" : "encode-basic",
"targets" : [
"encode-basic"
],
"type" : {
"executable" : null
}
},
{
"name" : "encode-advanced",
"targets" : [
"encode-advanced"
],
"type" : {
"executable" : null
}
},
{
"name" : "decode-online",
"targets" : [
"decode-online"
],
"type" : {
"executable" : null
}
},
{
"name" : "decode-basic",
"targets" : [
"decode-basic"
],
"type" : {
"executable" : null
}
},
{
"name" : "decode-advanced",
"targets" : [
"decode-advanced"
],
"type" : {
"executable" : null
}
},
{
"name" : "custom-color",
"targets" : [
"custom-color"
],
"type" : {
"executable" : null
}
},
{
"name" : "comparator",
"targets" : [
"comparator"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "unit_test",
"module_type" : "SwiftTarget",
"name" : "unit-test",
"path" : "tests/unit",
"product_memberships" : [
"unit-test"
],
"sources" : [
"main.swift",
"output.swift",
"result.swift",
"tests.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "rotate",
"module_type" : "SwiftTarget",
"name" : "rotate",
"path" : "examples/rotate",
"product_memberships" : [
"rotate"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "regression_test",
"module_type" : "SwiftTarget",
"name" : "regression-test",
"path" : "tests/regression",
"product_memberships" : [
"regression-test"
],
"sources" : [
"main.swift",
"output.swift",
"result.swift",
"tests.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "recompress",
"module_type" : "SwiftTarget",
"name" : "recompress",
"path" : "examples/recompress",
"product_memberships" : [
"recompress"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "integration_test",
"module_type" : "SwiftTarget",
"name" : "integration-test",
"path" : "tests/integration",
"product_memberships" : [
"integration-test"
],
"sources" : [
"main.swift",
"output.swift",
"result.swift",
"tests.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "in_memory",
"module_type" : "SwiftTarget",
"name" : "in-memory",
"path" : "examples/in-memory",
"product_memberships" : [
"in-memory"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "fuzzer",
"module_type" : "SwiftTarget",
"name" : "fuzzer",
"path" : "tests/fuzz",
"product_memberships" : [
"fuzzer"
],
"sources" : [
"main.swift",
"output.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "encode_basic",
"module_type" : "SwiftTarget",
"name" : "encode-basic",
"path" : "examples/encode-basic",
"product_memberships" : [
"encode-basic"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "encode_advanced",
"module_type" : "SwiftTarget",
"name" : "encode-advanced",
"path" : "examples/encode-advanced",
"product_memberships" : [
"encode-advanced"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "decode_online",
"module_type" : "SwiftTarget",
"name" : "decode-online",
"path" : "examples/decode-online",
"product_memberships" : [
"decode-online"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "decode_basic",
"module_type" : "SwiftTarget",
"name" : "decode-basic",
"path" : "examples/decode-basic",
"product_memberships" : [
"decode-basic"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "decode_advanced",
"module_type" : "SwiftTarget",
"name" : "decode-advanced",
"path" : "examples/decode-advanced",
"product_memberships" : [
"decode-advanced"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "custom_color",
"module_type" : "SwiftTarget",
"name" : "custom-color",
"path" : "examples/custom-color",
"product_memberships" : [
"custom-color"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "comparator",
"module_type" : "SwiftTarget",
"name" : "comparator",
"path" : "tests/compare",
"product_memberships" : [
"comparator"
],
"sources" : [
"main.swift",
"output.swift"
],
"target_dependencies" : [
"JPEG"
],
"type" : "executable"
},
{
"c99name" : "JPEG",
"module_type" : "SwiftTarget",
"name" : "JPEG",
"path" : "sources/jpeg",
"product_memberships" : [
"JPEG",
"unit-test",
"rotate",
"regression-test",
"recompress",
"integration-test",
"in-memory",
"fuzzer",
"encode-basic",
"encode-advanced",
"decode-online",
"decode-basic",
"decode-advanced",
"custom-color",
"comparator"
],
"sources" : [
"common.swift",
"debug.swift",
"decode.swift",
"encode.swift",
"error.swift",
"jpeg.swift",
"metadata.swift",
"os.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/tests/fuzz/data': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/tests/fuzz/data': File not found.
Building for debugging...
[0/59] Write sources
[15/59] Write swift-version-24593BA9C3E375BF.txt
[17/67] Emitting module JPEG
/host/spi-builder-workspace/sources/jpeg/error.swift:229:14: warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' 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)>>'); this is an error in the Swift 6 language mode
227 | /// - _ : JPEG.Process
228 | /// The coding process specified by the frame header.
229 | case invalidFrameQuantizationSelector(JPEG.Table.Quantization.Selector, Process)
| `- warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' 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)>>'); this is an error in the Swift 6 language mode
230 | /// case JPEG.ParsingError.invalidFrameComponentSamplingFactor(_:_:)
231 | /// A component in a frame header had an invalid sampling factor.
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:258:14: warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
256 | /// - _ : JPEG.Process
257 | /// The coding process specified by the frame header.
258 | case invalidScanHuffmanDCSelector(JPEG.Table.HuffmanDC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
259 | /// case JPEG.ParsingError.invalidScanHuffmanACSelector(_:_:)
260 | /// A component in a frame header segment used an AC huffman 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:266:14: warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
264 | /// - _ : JPEG.Process
265 | /// The coding process specified by the frame header.
266 | case invalidScanHuffmanACSelector(JPEG.Table.HuffmanAC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
267 | /// case JPEG.ParsingError.invalidScanComponentCount(_:_:)
268 | /// A scan header had more that the maximum allowed number of components
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:587: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>>>'); this is an error in the Swift 6 language mode
585 | /// - _ : JPEG.Table.HuffmanDC.Selector
586 | /// The table selector.
587 | 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>>>'); this is an error in the Swift 6 language mode
588 | /// case JPEG.DecodingError.undefinedScanHuffmanACReference(_:)
589 | /// An AC huffman table selector in a scan referenced a 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:593: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>>>'); this is an error in the Swift 6 language mode
591 | /// - _ : JPEG.Table.HuffmanAC.Selector
592 | /// The table selector.
593 | 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>>>'); this is an error in the Swift 6 language mode
594 | /// case JPEG.DecodingError.undefinedScanQuantizationReference(_:)
595 | /// A quantization table selector in the first scan for a particular
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:599: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)>>'); this is an error in the Swift 6 language mode
597 | /// - _ : JPEG.Table.Quantization.Selector
598 | /// The table selector.
599 | 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)>>'); this is an error in the Swift 6 language mode
600 | /// case JPEG.DecodingError.invalidScanQuantizationPrecision(_:)
601 | /// A quantization table had the wrong precision mode for the image
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/os.swift:10:14: warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
8 | import Glibc
9 | #else
10 | #warning("unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
11 | #endif
12 |
[18/67] Compiling JPEG metadata.swift
[19/67] Compiling JPEG common.swift
[20/67] Compiling JPEG jpeg.swift
[21/68] Compiling JPEG error.swift
/host/spi-builder-workspace/sources/jpeg/error.swift:229:14: warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' 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)>>'); this is an error in the Swift 6 language mode
227 | /// - _ : JPEG.Process
228 | /// The coding process specified by the frame header.
229 | case invalidFrameQuantizationSelector(JPEG.Table.Quantization.Selector, Process)
| `- warning: associated value 'invalidFrameQuantizationSelector' of 'Sendable'-conforming enum 'ParsingError' 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)>>'); this is an error in the Swift 6 language mode
230 | /// case JPEG.ParsingError.invalidFrameComponentSamplingFactor(_:_:)
231 | /// A component in a frame header had an invalid sampling factor.
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:258:14: warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
256 | /// - _ : JPEG.Process
257 | /// The coding process specified by the frame header.
258 | case invalidScanHuffmanDCSelector(JPEG.Table.HuffmanDC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanDCSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
259 | /// case JPEG.ParsingError.invalidScanHuffmanACSelector(_:_:)
260 | /// A component in a frame header segment used an AC huffman 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:266:14: warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
264 | /// - _ : JPEG.Process
265 | /// The coding process specified by the frame header.
266 | case invalidScanHuffmanACSelector(JPEG.Table.HuffmanAC.Selector, Process)
| `- warning: associated value 'invalidScanHuffmanACSelector' of 'Sendable'-conforming enum 'ParsingError' 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>>>'); this is an error in the Swift 6 language mode
267 | /// case JPEG.ParsingError.invalidScanComponentCount(_:_:)
268 | /// A scan header had more that the maximum allowed number of components
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:587: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>>>'); this is an error in the Swift 6 language mode
585 | /// - _ : JPEG.Table.HuffmanDC.Selector
586 | /// The table selector.
587 | 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>>>'); this is an error in the Swift 6 language mode
588 | /// case JPEG.DecodingError.undefinedScanHuffmanACReference(_:)
589 | /// An AC huffman table selector in a scan referenced a 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:593: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>>>'); this is an error in the Swift 6 language mode
591 | /// - _ : JPEG.Table.HuffmanAC.Selector
592 | /// The table selector.
593 | 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>>>'); this is an error in the Swift 6 language mode
594 | /// case JPEG.DecodingError.undefinedScanQuantizationReference(_:)
595 | /// A quantization table selector in the first scan for a particular
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:599: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)>>'); this is an error in the Swift 6 language mode
597 | /// - _ : JPEG.Table.Quantization.Selector
598 | /// The table selector.
599 | 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)>>'); this is an error in the Swift 6 language mode
600 | /// case JPEG.DecodingError.invalidScanQuantizationPrecision(_:)
601 | /// A quantization table had the wrong precision mode for the image
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 | }
[22/68] Compiling JPEG os.swift
/host/spi-builder-workspace/sources/jpeg/os.swift:10:14: warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
8 | import Glibc
9 | #else
10 | #warning("unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
11 | #endif
12 |
[23/68] Compiling JPEG encode.swift
[24/68] Compiling JPEG decode.swift
[25/68] Compiling JPEG debug.swift
[26/69] Wrapping AST for JPEG for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/95] Emitting module in_memory
/host/spi-builder-workspace/examples/in-memory/main.swift:3:11: error: cannot find type 'System' in scope
1 | import JPEG
2 |
3 | extension System
| `- error: cannot find type 'System' in scope
4 | {
5 | struct Blob
/host/spi-builder-workspace/examples/in-memory/main.swift:12:11: error: cannot find type 'System' in scope
10 | }
11 | }
12 | extension System.Blob:JPEG.Bytestream.Source, JPEG.Bytestream.Destination
| `- error: cannot find type 'System' in scope
13 | {
14 | init(_ data:[UInt8])
/host/spi-builder-workspace/examples/in-memory/main.swift:46:28: error: cannot find 'System' in scope
44 |
45 | let path:String = "examples/in-memory/karlie-2011.jpg"
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
| `- error: cannot find 'System' in scope
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/examples/in-memory/main.swift:48:19: error: cannot find type 'System' in scope
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
49 |
50 | guard let count:Int = source.count
/host/spi-builder-workspace/examples/in-memory/main.swift:62:10: error: cannot find type 'System' in scope
60 | }
61 |
62 | var blob:System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
63 | // read from blob
64 | let spectral:JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/examples/in-memory/main.swift:67:21: error: cannot find 'System' in scope
65 | let image:JPEG.Data.Rectangular<JPEG.Common> = spectral.idct().interleaved()
66 | let rgb:[JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
67 | guard let _:Void = (System.File.Destination.open(path: "\(path).rgb")
| `- error: cannot find 'System' in scope
68 | {
69 | guard let _:Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] })
/host/spi-builder-workspace/examples/in-memory/main.swift:83:21: error: cannot find 'System' in scope
81 | blob = .init([])
82 | try spectral.compress(stream: &blob)
83 | guard let _:Void = (System.File.Destination.open(path: "\(path).jpg")
| `- error: cannot find 'System' in scope
84 | {
85 | guard let _:Void = $0.write(blob.data)
[29/95] Compiling in_memory main.swift
/host/spi-builder-workspace/examples/in-memory/main.swift:3:11: error: cannot find type 'System' in scope
1 | import JPEG
2 |
3 | extension System
| `- error: cannot find type 'System' in scope
4 | {
5 | struct Blob
/host/spi-builder-workspace/examples/in-memory/main.swift:12:11: error: cannot find type 'System' in scope
10 | }
11 | }
12 | extension System.Blob:JPEG.Bytestream.Source, JPEG.Bytestream.Destination
| `- error: cannot find type 'System' in scope
13 | {
14 | init(_ data:[UInt8])
/host/spi-builder-workspace/examples/in-memory/main.swift:46:28: error: cannot find 'System' in scope
44 |
45 | let path:String = "examples/in-memory/karlie-2011.jpg"
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
| `- error: cannot find 'System' in scope
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/examples/in-memory/main.swift:48:19: error: cannot find type 'System' in scope
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
49 |
50 | guard let count:Int = source.count
/host/spi-builder-workspace/examples/in-memory/main.swift:62:10: error: cannot find type 'System' in scope
60 | }
61 |
62 | var blob:System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
63 | // read from blob
64 | let spectral:JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/examples/in-memory/main.swift:67:21: error: cannot find 'System' in scope
65 | let image:JPEG.Data.Rectangular<JPEG.Common> = spectral.idct().interleaved()
66 | let rgb:[JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
67 | guard let _:Void = (System.File.Destination.open(path: "\(path).rgb")
| `- error: cannot find 'System' in scope
68 | {
69 | guard let _:Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] })
/host/spi-builder-workspace/examples/in-memory/main.swift:83:21: error: cannot find 'System' in scope
81 | blob = .init([])
82 | try spectral.compress(stream: &blob)
83 | guard let _:Void = (System.File.Destination.open(path: "\(path).jpg")
| `- error: cannot find 'System' in scope
84 | {
85 | guard let _:Void = $0.write(blob.data)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/tests/fuzz/data': File not found.
[0/1] Planning build
Building for debugging...
[0/44] Write swift-version-24593BA9C3E375BF.txt
[2/52] Compiling JPEG error.swift
[3/52] Compiling JPEG metadata.swift
[4/52] Compiling JPEG jpeg.swift
[5/53] Compiling JPEG os.swift
/host/spi-builder-workspace/sources/jpeg/os.swift:10:14: warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
8 | import Glibc
9 | #else
10 | #warning("unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
11 | #endif
12 |
[6/53] Compiling JPEG encode.swift
[7/53] Compiling JPEG decode.swift
[8/53] Emitting module JPEG
/host/spi-builder-workspace/sources/jpeg/os.swift:10:14: warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
8 | import Glibc
9 | #else
10 | #warning("unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)")
| `- warning: unsupported or untested platform (please open an issue at https://github.com/kelvin13/jpeg/issues)
11 | #endif
12 |
[9/53] Compiling JPEG common.swift
[10/53] Compiling JPEG debug.swift
[11/56] Wrapping AST for JPEG for debugging
[13/78] Emitting module rotate
[14/78] Emitting module fuzzer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/78] Emitting module in_memory
/host/spi-builder-workspace/examples/in-memory/main.swift:3:11: error: cannot find type 'System' in scope
1 | import JPEG
2 |
3 | extension System
| `- error: cannot find type 'System' in scope
4 | {
5 | struct Blob
/host/spi-builder-workspace/examples/in-memory/main.swift:12:11: error: cannot find type 'System' in scope
10 | }
11 | }
12 | extension System.Blob:JPEG.Bytestream.Source, JPEG.Bytestream.Destination
| `- error: cannot find type 'System' in scope
13 | {
14 | init(_ data:[UInt8])
/host/spi-builder-workspace/examples/in-memory/main.swift:46:28: error: cannot find 'System' in scope
44 |
45 | let path:String = "examples/in-memory/karlie-2011.jpg"
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
| `- error: cannot find 'System' in scope
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/examples/in-memory/main.swift:48:19: error: cannot find type 'System' in scope
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
49 |
50 | guard let count:Int = source.count
/host/spi-builder-workspace/examples/in-memory/main.swift:62:10: error: cannot find type 'System' in scope
60 | }
61 |
62 | var blob:System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
63 | // read from blob
64 | let spectral:JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/examples/in-memory/main.swift:67:21: error: cannot find 'System' in scope
65 | let image:JPEG.Data.Rectangular<JPEG.Common> = spectral.idct().interleaved()
66 | let rgb:[JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
67 | guard let _:Void = (System.File.Destination.open(path: "\(path).rgb")
| `- error: cannot find 'System' in scope
68 | {
69 | guard let _:Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] })
/host/spi-builder-workspace/examples/in-memory/main.swift:83:21: error: cannot find 'System' in scope
81 | blob = .init([])
82 | try spectral.compress(stream: &blob)
83 | guard let _:Void = (System.File.Destination.open(path: "\(path).jpg")
| `- error: cannot find 'System' in scope
84 | {
85 | guard let _:Void = $0.write(blob.data)
[16/78] Compiling in_memory main.swift
/host/spi-builder-workspace/examples/in-memory/main.swift:3:11: error: cannot find type 'System' in scope
1 | import JPEG
2 |
3 | extension System
| `- error: cannot find type 'System' in scope
4 | {
5 | struct Blob
/host/spi-builder-workspace/examples/in-memory/main.swift:12:11: error: cannot find type 'System' in scope
10 | }
11 | }
12 | extension System.Blob:JPEG.Bytestream.Source, JPEG.Bytestream.Destination
| `- error: cannot find type 'System' in scope
13 | {
14 | init(_ data:[UInt8])
/host/spi-builder-workspace/examples/in-memory/main.swift:46:28: error: cannot find 'System' in scope
44 |
45 | let path:String = "examples/in-memory/karlie-2011.jpg"
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
| `- error: cannot find 'System' in scope
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
/host/spi-builder-workspace/examples/in-memory/main.swift:48:19: error: cannot find type 'System' in scope
46 | guard let data:[UInt8] = (System.File.Source.open(path: path)
47 | {
48 | (source:inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
49 |
50 | guard let count:Int = source.count
/host/spi-builder-workspace/examples/in-memory/main.swift:62:10: error: cannot find type 'System' in scope
60 | }
61 |
62 | var blob:System.Blob = .init(data)
| `- error: cannot find type 'System' in scope
63 | // read from blob
64 | let spectral:JPEG.Data.Spectral<JPEG.Common> = try .decompress(stream: &blob)
/host/spi-builder-workspace/examples/in-memory/main.swift:67:21: error: cannot find 'System' in scope
65 | let image:JPEG.Data.Rectangular<JPEG.Common> = spectral.idct().interleaved()
66 | let rgb:[JPEG.RGB] = image.unpack(as: JPEG.RGB.self)
67 | guard let _:Void = (System.File.Destination.open(path: "\(path).rgb")
| `- error: cannot find 'System' in scope
68 | {
69 | guard let _:Void = $0.write(rgb.flatMap{ [$0.r, $0.g, $0.b] })
/host/spi-builder-workspace/examples/in-memory/main.swift:83:21: error: cannot find 'System' in scope
81 | blob = .init([])
82 | try spectral.compress(stream: &blob)
83 | guard let _:Void = (System.File.Destination.open(path: "\(path).jpg")
| `- error: cannot find 'System' in scope
84 | {
85 | guard let _:Void = $0.write(blob.data)
BUILD FAILURE 6.1 android