Build Information
Failed to build swift-png, reference master (63675c), with Swift 6.2 for Wasm on 30 Apr 2026 06:23:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-png.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-png
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 63675c8 [autosync]
Cloned https://github.com/tayloraswift/swift-png.git
Revision (git rev-parse @):
63675c8cbe771121644f93c14791c18f755cc05a
SUCCESS checkout https://github.com/tayloraswift/swift-png.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tayloraswift/swift-png.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/ordo-one/dollup
Fetching https://github.com/rarestype/h
[1/1258] Fetching h
[1259/1293] Fetching h, dollup
Fetched https://github.com/rarestype/h from cache (0.27s)
Fetched https://github.com/ordo-one/dollup from cache (0.28s)
Computing version for https://github.com/rarestype/h
Computed https://github.com/rarestype/h at 1.0.1 (0.69s)
Computing version for https://github.com/ordo-one/dollup
Computed https://github.com/ordo-one/dollup at 1.0.6 (0.33s)
Creating working copy for https://github.com/ordo-one/dollup
Working copy of https://github.com/ordo-one/dollup resolved at 1.0.6
Creating working copy for https://github.com/rarestype/h
Working copy of https://github.com/rarestype/h resolved at 1.0.1
Downloading binary artifact https://get.rarestype.com/dollup/1.0.6/Linux-x86_64/dollup.artifactbundle.zip
[2729/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.52s)
[1/1] Compiling plugin DollupPlugin
Building for debugging...
[1/65] Write sources
[20/65] Write swift-version-24593BA9C3E375BF.txt
[22/67] Emitting module BaseDigits
[23/67] Compiling BaseDigits BaseDigits.swift
[24/68] Wrapping AST for BaseDigits for debugging
[26/73] Emitting module Base16
[27/73] Compiling Base16 Base16.UppercaseDigits.swift
[28/73] Compiling Base16 Base16.LowercaseDigits.swift
[29/73] Compiling Base16 Base16.swift
[30/73] Compiling Base16 Base16.Values.swift
[31/74] Wrapping AST for Base16 for debugging
[33/76] Emitting module CRC
[34/76] Compiling CRC CRC32.swift
[35/77] Wrapping AST for CRC for debugging
[37/130] Emitting module LZ77
[38/130] Compiling LZ77 F14.District.Index.swift
[39/130] Compiling LZ77 F14.District.swift
[40/130] Compiling LZ77 F14.Hash.swift
[41/130] Compiling LZ77 F14.HashTable.swift
[42/130] Compiling LZ77 F14.swift
[43/130] Compiling LZ77 FixedWidthInteger (ext).swift
[44/130] Compiling LZ77 Gzip.Deflator.swift
[45/130] Compiling LZ77 Gzip.Format.Integral.swift
[46/137] Compiling LZ77 LZ77.InflatorIn.swift
[47/137] Compiling LZ77 LZ77.InflatorOut.swift
[48/137] Compiling LZ77 LZ77.InflatorState.swift
[49/137] Compiling LZ77 LZ77.InflatorTables.swift
[50/137] Compiling LZ77 LZ77.StreamHeader.swift
[51/137] Compiling LZ77 LZ77.StreamHeaderError.swift
[52/137] Compiling LZ77 LZ77.Composites.swift
[53/137] Compiling LZ77 Gzip.Format.swift
[54/137] Compiling LZ77 Gzip.Inflator.swift
[55/137] Compiling LZ77 Gzip.InflatorState.swift
[56/137] Compiling LZ77 Gzip.StreamHeader.swift
[57/137] Compiling LZ77 Gzip.StreamHeaderError.swift
[58/137] Compiling LZ77 Gzip.swift
[59/137] Compiling LZ77 LZ77.Codeword.swift
[60/137] Compiling LZ77 LZ77.Decades.swift
[61/137] Compiling LZ77 LZ77.Deflator.swift
[62/137] Compiling LZ77 LZ77.DeflatorBuffers.Stream.swift
[63/137] Compiling LZ77 LZ77.DeflatorBuffers.swift
[64/137] Compiling LZ77 LZ77.DeflatorDicing.Node.swift
[65/137] Compiling LZ77 LZ77.DeflatorDicing.swift
[66/137] Compiling LZ77 LZ77.DeflatorIn.swift
[67/137] Compiling LZ77 LZ77.DeflatorMatches.Depths.swift
[68/137] Compiling LZ77 LZ77.Reversed.swift
[69/137] Compiling LZ77 LZ77.swift
[70/137] Compiling LZ77 SIMD16 (ext).swift
[71/137] Compiling LZ77 LZ77.Format.swift
[72/137] Compiling LZ77 LZ77.FormatType.swift
[73/137] Compiling LZ77 LZ77.MRC32.swift
[74/137] Compiling LZ77 LZ77.StreamIntegral.swift
[75/137] Compiling LZ77 LZ77.DeflatorMatches.swift
[76/137] Compiling LZ77 LZ77.DeflatorOut.swift
[77/137] Compiling LZ77 LZ77.DeflatorSearch.swift
[78/137] Compiling LZ77 LZ77.DeflatorTables.swift
[79/137] Compiling LZ77 LZ77.DeflatorTerm.Meta.swift
[80/137] Compiling LZ77 LZ77.DeflatorTerm.swift
[81/137] Compiling LZ77 LZ77.DeflatorWindow.Element.swift
[82/137] Compiling LZ77 LZ77.DeflatorWindow.swift
[83/137] Compiling LZ77 LZ77.Distance.swift
[84/137] Compiling LZ77 LZ77.Heap.swift
[85/137] Compiling LZ77 LZ77.HuffmanPattern.swift
[86/137] Compiling LZ77 LZ77.HuffmanTree.swift
[87/137] Compiling LZ77 LZ77.Metaword.swift
[88/137] Compiling LZ77 LZ77.RunLiteral.swift
[89/137] Compiling LZ77 LZ77.BlockMetadata.swift
[90/137] Compiling LZ77 LZ77.BlockShape.swift
[91/137] Compiling LZ77 LZ77.BlockState.swift
[92/137] Compiling LZ77 LZ77.BlockType.swift
[93/137] Compiling LZ77 LZ77.DecompressionError.swift
[94/137] Compiling LZ77 LZ77.Inflator.swift
[95/137] Compiling LZ77 LZ77.InflatorBuffers.Stream.swift
[96/137] Compiling LZ77 LZ77.InflatorBuffers.swift
[97/138] Wrapping AST for LZ77 for debugging
[99/182] Emitting module PNG
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[100/188] Compiling PNG PNG.Format.Pixel.swift
[101/188] Compiling PNG PNG.Format.swift
[102/188] Compiling PNG PNG.Layout.swift
[103/188] Compiling PNG General.swift
[104/188] Compiling PNG LZ77.DecompressionError (ext).swift
[105/188] Compiling PNG LZ77.DeflateHeaderError (ext).swift
[106/188] Compiling PNG PNG.DecodingError.swift
[107/188] Compiling PNG PNG.Metadata.swift
[108/188] Compiling PNG PNG.Standard.swift
[109/188] Compiling PNG PNG.Encoder.Pass.swift
[110/188] Compiling PNG PNG.Encoder.swift
[111/188] Compiling PNG PNG.FormattingError.swift
[112/188] Compiling PNG PNG.TimeModified.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[113/188] Compiling PNG PNG.Transparency.Case.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[114/188] Compiling PNG PNG.Transparency.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[115/188] Compiling PNG System.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[116/188] Compiling PNG UnsafeMutableBufferPointer (ext).swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[117/188] Compiling PNG __Entrypoint.swift
/host/spi-builder-workspace/Sources/PNG/System.swift:22:5: warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
20 | #else
21 | #warning(
22 | """
| `- warning: unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
23 | unsupported or untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | """
[118/188] Compiling PNG Array (ext).swift
[119/188] Compiling PNG ArraySlice (ext).swift
[120/188] Compiling PNG PNG.Color.swift
[121/188] Compiling PNG PNG.RGBA.swift
[122/188] Compiling PNG PNG.VA.swift
[123/188] Compiling PNG PNG.Context.swift
[124/188] Compiling PNG PNG.Decoder.swift
[125/188] Compiling PNG PNG.PhysicalDimensions.swift
[126/188] Compiling PNG PNG.SignificantBits.Case.swift
[127/188] Compiling PNG PNG.SignificantBits.swift
[128/188] Compiling PNG PNG.SuggestedPalette.Entries.swift
[129/188] Compiling PNG PNG.SuggestedPalette.swift
[130/188] Compiling PNG PNG.Text.swift
[131/188] Compiling PNG PNG.swift
[132/188] Compiling PNG PNG.Background.Case.swift
[133/188] Compiling PNG PNG.Background.swift
[134/188] Compiling PNG PNG.Chromaticity.swift
[135/188] Compiling PNG PNG.ColorProfile.swift
[136/188] Compiling PNG PNG.ColorRendering.swift
[137/188] Compiling PNG PNG.Gamma.swift
[138/188] Compiling PNG PNG.Header.swift
[139/188] Compiling PNG PNG.Histogram.swift
[140/188] Compiling PNG PNG.Palette.swift
[141/188] Compiling PNG PNG.ParsingError.swift
[142/188] Compiling PNG PNG.Percentmille.swift
[143/188] Compiling PNG PNG.BytestreamDestination.swift
[144/188] Compiling PNG PNG.BytestreamSource.swift
[145/188] Compiling PNG PNG.Chunk.swift
[146/188] Compiling PNG PNG.LexingError.swift
[147/188] Compiling PNG PNG.Error.swift
[148/188] Compiling PNG PNG.Image.swift
[149/189] Wrapping AST for PNG for debugging
[151/205] Emitting module PNGDecompressionBenchmarks
/host/spi-builder-workspace/Benchmarks/Decompression/Swift/Main.swift:26:5: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | #else
25 | #warning(
26 | """
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
27 | clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | """
[152/205] Compiling PNGCompressionBenchmarks Main.swift
/host/spi-builder-workspace/Benchmarks/Compression/Swift/Main.swift:26:5: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | #else
25 | #warning(
26 | """
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
27 | clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | """
[153/205] Emitting module PNGCompressionBenchmarks
/host/spi-builder-workspace/Benchmarks/Compression/Swift/Main.swift:26:5: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | #else
25 | #warning(
26 | """
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
27 | clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | """
[154/208] Compiling StreamingGzip StreamingGzip.swift
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:8:5: error: cannot find 'System' in scope
6 | guard
7 | let original: [UInt8] = (
8 | System.File.Source.open(path: "\(path).gz") {
| `- error: cannot find 'System' in scope
9 | (source: inout System.File.Source) -> [UInt8]? in
10 |
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:9:24: error: cannot find type 'System' in scope
7 | let original: [UInt8] = (
8 | System.File.Source.open(path: "\(path).gz") {
9 | (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
10 |
11 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:33:16: error: cannot find 'System' in scope
31 |
32 | // snippet.WRITE
33 | let _: Void? = System.File.Destination.open(path: "\(path).txt.gz") {
| `- error: cannot find 'System' in scope
34 | while let part: [UInt8] = deflator.pull() {
35 | $0.write(part)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[155/208] Emitting module StreamingGzip
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:8:5: error: cannot find 'System' in scope
6 | guard
7 | let original: [UInt8] = (
8 | System.File.Source.open(path: "\(path).gz") {
| `- error: cannot find 'System' in scope
9 | (source: inout System.File.Source) -> [UInt8]? in
10 |
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:9:24: error: cannot find type 'System' in scope
7 | let original: [UInt8] = (
8 | System.File.Source.open(path: "\(path).gz") {
9 | (source: inout System.File.Source) -> [UInt8]? in
| `- error: cannot find type 'System' in scope
10 |
11 | guard let count: Int = source.count else {
/host/spi-builder-workspace/Snippets/LZ77/StreamingGzip.swift:33:16: error: cannot find 'System' in scope
31 |
32 | // snippet.WRITE
33 | let _: Void? = System.File.Destination.open(path: "\(path).txt.gz") {
| `- error: cannot find 'System' in scope
34 | while let part: [UInt8] = deflator.pull() {
35 | $0.write(part)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[156/208] Compiling PNGDecompressionBenchmarks Main.swift
/host/spi-builder-workspace/Benchmarks/Decompression/Swift/Main.swift:26:5: warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
24 | #else
25 | #warning(
26 | """
| `- warning: clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
27 | clock() function not imported for this platform, internal benchmarks not built (please open an issue at https://github.com/tayloraswift/swift-png/issues)
28 | """
[157/208] Emitting module iPhoneOptimized
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:39: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image: PNG.Image = try .decompress(path: "\(path).png") else {
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | fatalError("failed to open file '\(path).png'")
11 | }
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:19:7: error: cannot infer key path type from context; consider explicitly specifying a root type
17 | let rgba: [PNG.RGBA<UInt8>] = image.unpack(
18 | as: PNG.RGBA<UInt8>.self
19 | ).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
20 |
21 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: 'compress(stream:level:hint:)' declared here
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: 'compress(stream:level:hint:)' declared here
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:11: error: generic parameter 'Destination' could not be inferred
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
41 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:26: error: extra argument 'path' in call
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
41 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:20: error: missing argument for parameter 'stream' in call
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
41 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: 'compress(stream:level:hint:)' declared here
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: 'compress(stream:level:hint:)' declared here
523 | stream: inout Destination,
524 | level: Int = 9,
[158/208] Compiling iPhoneOptimized iPhoneOptimized.swift
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:9:39: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | var image: PNG.Image = try .decompress(path: "\(path).png") else {
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | fatalError("failed to open file '\(path).png'")
11 | }
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:19:7: error: cannot infer key path type from context; consider explicitly specifying a root type
17 | let rgba: [PNG.RGBA<UInt8>] = image.unpack(
18 | as: PNG.RGBA<UInt8>.self
19 | ).map(\.straightened)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
20 |
21 | // snippet.INSPECT_STORAGE
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:29: error: extra argument 'path' in call
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: extra argument 'path' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:23: error: missing argument for parameter 'stream' in call
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: missing argument for parameter 'stream' in call
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: 'compress(stream:level:hint:)' declared here
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: 'compress(stream:level:hint:)' declared here
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:31:14: error: generic parameter 'Destination' could not be inferred
29 | )
30 |
31 | try standard.compress(path: "\(path)-rgb8.png")
| `- error: generic parameter 'Destination' could not be inferred
32 |
33 | // snippet.REENCODE_BGR
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:26: error: extra argument 'path' in call
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: extra argument 'path' in call
41 |
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:20: error: missing argument for parameter 'stream' in call
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: missing argument for parameter 'stream' in call
41 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: 'compress(stream:level:hint:)' declared here
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: 'compress(stream:level:hint:)' declared here
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/iPhoneOptimized.swift:40:11: error: generic parameter 'Destination' could not be inferred
38 | )
39 |
40 | try apple.compress(path: "\(path)-bgr8.png")
| `- error: generic parameter 'Destination' could not be inferred
41 |
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Sources/PNGInspection/PNG.Metadata (ext).swift:3:1: warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
1 | import PNG
2 |
3 | extension PNG.Metadata: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Metadata' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'PNG' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public var description: String {
5 | [
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:9:39: error: incorrect argument label in call (have 'path:', expected 'stream:')
7 |
8 | guard
9 | let image: PNG.Image = try .decompress(path: "\(path).png") else {
| `- error: incorrect argument label in call (have 'path:', expected 'stream:')
10 | fatalError("failed to open file '\(path).png'")
11 | }
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:79:34: error: extra argument 'path' in call
77 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil))
78 | )
79 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: extra argument 'path' in call
80 |
81 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:79:28: error: missing argument for parameter 'stream' in call
77 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil))
78 | )
79 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: missing argument for parameter 'stream' in call
80 |
81 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: 'compress(stream:level:hint:)' declared here
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: 'compress(stream:level:hint:)' declared here
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:79:19: error: generic parameter 'Destination' could not be inferred
77 | layout: .init(format: .rgb8(palette: [], fill: nil, key: nil))
78 | )
79 | try visualization.compress(path: "\(path)-gradient.png")
| `- error: generic parameter 'Destination' could not be inferred
80 |
81 | // snippet.PACK_EXAMPLE
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:91:13: error: generic parameter 'Destination' could not be inferred
89 | }
90 | // snippet.COMPRESS_EXAMPLE
91 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: generic parameter 'Destination' could not be inferred
92 | // snippet.UNPACK_EXAMPLE
93 | let indices: [UInt8] = indexed.unpack(as: UInt8.self) {
/host/spi-builder-workspace/Sources/PNG/PNG.Image.swift:522:17: note: in call to function 'compress(stream:level:hint:)'
520 | /// it to `1`. Likewise, setting it to a value greater than `2147483647`
521 | /// (2<sup>31</sup> – 1) is the same as setting it to `2147483647`.
522 | public func compress<Destination>(
| `- note: in call to function 'compress(stream:level:hint:)'
523 | stream: inout Destination,
524 | level: Int = 9,
/host/spi-builder-workspace/Snippets/PNG/Indexing.swift:91:28: error: extra argument 'path' in call
89 | }
90 | // snippet.COMPRESS_EXAMPLE
91 | try indexed.compress(path: "\(path)-indexed.png")
| `- error: extra argument 'path' in call
92 | // snippet.UNPACK_EXAMPLE
93 | let indices: [UInt8] = indexed.unpack(as: UInt8.self) {
BUILD FAILURE 6.2 wasm