The Swift Package Index logo.Swift Package Index

Build Information

Failed to build hokusai, reference v2.2.2 (58d151), with Swift 6.3 for Wasm on 7 Nov 2026 14:52:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivantokar/hokusai.git
Reference: v2.2.2
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/ivantokar/hokusai
 * tag               v2.2.2     -> FETCH_HEAD
HEAD is now at 58d1513 Vector PDF cancellation, memory and blocking I/O fixes; release 2.2.2 (#181)
Cloned https://github.com/ivantokar/hokusai.git
Revision (git rev-parse @):
58d151389be7b6e42c6bb43216ccdb6f1b12885c
SUCCESS checkout https://github.com/ivantokar/hokusai.git at v2.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ivantokar/hokusai.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:3045625b85c7b3a40ef7c4e596cfe3f6119a575d9bb01341bbf4a893a5aa001c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/ivantokar/prompt.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/76] Fetching prompt
[77/19420] Fetching prompt, swift-argument-parser
[4913/106235] Fetching prompt, swift-argument-parser, swift-nio
Fetched https://github.com/ivantokar/prompt.git from cache (1.24s)
[21949/106159] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.24s)
[3473/86815] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.56s)
Computing version for https://github.com/ivantokar/prompt.git
Computed https://github.com/ivantokar/prompt.git at 1.1.2 (3.71s)
Fetching https://github.com/onevcat/Rainbow.git
[1/1514] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.39s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.54s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.2 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1926] Fetching swift-atomics
[1927/9411] Fetching swift-atomics, swift-system
[2377/39282] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.73s)
[9992/31797] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.22s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/ivantokar/prompt.git
Working copy of https://github.com/ivantokar/prompt.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install vips using your system-packager:
    apt-get install libvips-dev
warning: you may be able to install pangocairo using your system-packager:
    apt-get install libpango1.0-dev
warning: you may be able to install cairo using your system-packager:
    apt-get install libcairo2-dev
warning: you may be able to install vips using your system-packager:
    apt-get install libvips-dev
warning: you may be able to install pangocairo using your system-packager:
    apt-get install libpango1.0-dev
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/46] Write sources
[19/46] Compiling CNIOWindows shim.c
[20/46] Compiling CNIOWindows WSAStartup.c
[20/46] Compiling _AtomicsShims.c
[22/46] Compiling CNIOOpenBSD shim.c
[23/46] Compiling CNIOWASI CNIOWASI.c
[24/46] Compiling CNIOLinux shim.c
[24/46] Compiling CNIOLinux liburing_shims.c
[26/46] Write sources
[29/46] Compiling CNIOFreeBSD shim.c
[30/46] Compiling CNIODarwin shim.c
[31/46] Write swift-version-24593BA9C3E375BF.txt
[33/146] Emitting module InternalCollectionsUtilities
[34/149] Emitting module Atomics
[34/151] Compiling c-nioatomics.c
[36/153] Emitting module ArgumentParserToolInfo
[36/153] Compiling c-atomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/160] Emitting module Hokusai
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[39/164] Compiling Hokusai ImageMetadata.swift
[40/164] Compiling Hokusai InputOptions.swift
[41/164] Compiling Hokusai MetadataPolicy.swift
[42/164] Compiling Hokusai PDFModels.swift
[43/164] Compiling Hokusai ContentAwareModels.swift
[44/164] Compiling Hokusai EncoderOptions.swift
[45/164] Compiling Hokusai Enums.swift
[46/164] Compiling Hokusai ImageFormat.swift
[50/165] Compiling Hokusai PipelineModels.swift
[51/165] Compiling Hokusai AdvancedFilters.swift
[52/165] Compiling Hokusai Composition.swift
[55/165] Compiling Hokusai NativeEffects.swift
[56/165] Compiling Hokusai NativeEncoder.swift
[57/165] Compiling Hokusai NativeGeometry.swift
[58/165] Compiling Hokusai NativeImage.swift
[63/165] Compiling Hokusai HokusaiError.swift
[64/165] Compiling Hokusai Evaluator.swift
[65/165] Emitting module Rainbow
[66/165] Compiling _NIOBase64 Base64.swift
[67/165] Emitting module _NIOBase64
[68/165] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[69/165] Compiling InternalCollectionsUtilities _SortedCollection.swift
[70/165] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/166] Compiling Hokusai Planner.swift
[74/166] Compiling Hokusai ChunkQueue.swift
[75/166] Compiling Hokusai EvaluationScheduler.swift
[76/166] Compiling Hokusai Hokusai.swift
[80/166] Compiling Hokusai TextModels.swift
[81/166] Compiling Hokusai NativeAdvanced.swift
[82/166] Compiling Hokusai NativeComposition.swift
[83/166] Compiling Hokusai NativeContentAware.swift
[84/166] Compiling Atomics IntegerOperations.swift
[85/166] Compiling Atomics Unmanaged extensions.swift
[100/168] Compiling ArgumentParserToolInfo ToolInfo.swift
[101/169] Compiling _NIODataStructures _TinyArray.swift
[102/169] Compiling _NIODataStructures PriorityQueue.swift
[103/173] Wrapping AST for ArgumentParserToolInfo for debugging
[105/173] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[106/173] Emitting module SpanPreview
[107/173] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[108/173] Compiling SpanPreview InputSpan.swift
[110/263] Compiling NIOConcurrencyHelpers lock.swift
[111/263] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[112/263] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[113/263] Emitting module NIOConcurrencyHelpers
[114/263] Compiling NIOConcurrencyHelpers NIOLock.swift
[115/263] Compiling _NIODataStructures Heap.swift
[116/263] Emitting module _NIODataStructures
[118/264] Compiling DequeModule Deque._UnsafeHandle.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[119/264] Compiling DequeModule Deque.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[120/264] Compiling DequeModule RigidDeque+Prepend.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[121/264] Compiling DequeModule RigidDeque+Removals.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[122/264] Compiling DequeModule RigidDeque+Replacements.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[123/264] Compiling DequeModule RigidDeque+Testing.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[124/264] Compiling DequeModule RigidDeque.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[125/264] Compiling DequeModule UniqueDeque+Append.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[126/264] Compiling DequeModule UniqueDeque+Consumption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[127/264] Compiling DequeModule UniqueDeque+ContainerOperations.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[128/264] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[129/264] Compiling DequeModule Deque+Extras.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[130/264] Compiling DequeModule Deque+Hashable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[131/264] Compiling DequeModule Deque+Testing.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[132/264] Compiling DequeModule Deque._Storage.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[133/264] Compiling DequeModule Deque+Codable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[134/264] Compiling DequeModule Deque+Collection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[135/264] Compiling DequeModule Deque+CustomReflectable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[136/264] Compiling DequeModule Deque+Descriptions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[137/264] Compiling DequeModule Deque+Equatable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[138/264] Compiling DequeModule RigidDeque+Hashable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[139/264] Compiling DequeModule RigidDeque+Initializers.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[140/264] Compiling DequeModule RigidDeque+Insertions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[141/264] Compiling DequeModule RigidDeque+Iterable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
/host/spi-builder-workspace/Sources/Hokusai/Evaluation/Evaluator.swift:2:8: error: could not build C module 'CVips'
  1 | import Foundation
  2 | import CVips
    |        `- error: could not build C module 'CVips'
  3 |
  4 | /// Lowers immutable plans to libvips graphs and drives terminal sinks.
[142/264] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[143/264] Compiling NIOConcurrencyHelpers atomics.swift
[144/265] Compiling Rainbow StyledStringBuilder.swift
[155/266] Compiling DequeModule UniqueDeque+Initializers.swift
[156/266] Compiling DequeModule UniqueDeque+Insertions.swift
[157/266] Compiling DequeModule UniqueDeque+Iterable.swift
[158/266] Compiling DequeModule UniqueDeque+Prepend.swift
[159/266] Compiling DequeModule UniqueDeque+Removals.swift
[160/266] Compiling DequeModule RigidDeque+Descriptions.swift
[161/266] Compiling DequeModule RigidDeque+Equatable.swift
[168/271] Compiling DequeModule UniqueDeque+Deprecations.swift
[169/271] Compiling DequeModule UniqueDeque+Descriptions.swift
[170/271] Compiling DequeModule UniqueDeque+Equatable.swift
[171/271] Compiling DequeModule UniqueDeque+Hashable.swift
[172/271] Compiling DequeModule _DequeBuffer.swift
[173/271] Compiling DequeModule _DequeBufferHeader.swift
[174/271] Compiling DequeModule RigidDeque+Append.swift
[175/271] Compiling DequeModule RigidDeque+Consumption.swift
[176/271] Compiling DequeModule RigidDeque+ContainerOperations.swift
[177/271] Compiling DequeModule RigidDeque+Deprecations.swift
[177/271] Wrapping AST for Rainbow for debugging
[180/273] Compiling DequeModule UniqueDeque+Replacements.swift
[181/273] Compiling DequeModule UniqueDeque.swift
[182/273] Compiling DequeModule _DequeSlot.swift
[183/273] Compiling DequeModule _UnsafeDequeHandle.swift
[184/273] Compiling DequeModule _UnsafeDequeSegments.swift
[185/279] Emitting module ArgumentParser
[210/279] Compiling ArgumentParser AsyncCompletionsValidator.swift
[211/279] Compiling ArgumentParser CodingKeyValidator.swift
[212/279] Compiling ArgumentParser NonsenseFlagsValidator.swift
[213/279] Compiling ArgumentParser ParsableArgumentsValidation.swift
[214/279] Compiling ArgumentParser PositionalArgumentsValidator.swift
[215/279] Compiling ArgumentParser UniqueNamesValidator.swift
[236/279] Emitting module DequeModule
[251/280] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[253/280] Emitting module Prompt
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:37:24: error: cannot find type 'DispatchSourceTimer' in scope
 35 |     private var isRunning = false
 36 |     private var message: String
 37 |     private var timer: DispatchSourceTimer?
    |                        `- error: cannot find type 'DispatchSourceTimer' in scope
 38 |
 39 |     public init(message: String) {
[254/280] Compiling Prompt PromptService.swift
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:37:24: error: cannot find type 'DispatchSourceTimer' in scope
 35 |     private var isRunning = false
 36 |     private var message: String
 37 |     private var timer: DispatchSourceTimer?
    |                        `- error: cannot find type 'DispatchSourceTimer' in scope
 38 |
 39 |     public init(message: String) {
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:51:17: error: cannot find 'DispatchSource' in scope
 49 |         print("\u{001B}[?25l", terminator: "")
 50 |
 51 |         timer = DispatchSource.makeTimerSource(queue: .global(qos: .userInteractive))
    |                 `- error: cannot find 'DispatchSource' in scope
 52 |         timer?.schedule(deadline: .now(), repeating: .milliseconds(80))
 53 |         timer?.setEventHandler { [weak self] in
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:51:56: error: cannot infer contextual base in reference to member 'global'
 49 |         print("\u{001B}[?25l", terminator: "")
 50 |
 51 |         timer = DispatchSource.makeTimerSource(queue: .global(qos: .userInteractive))
    |                                                        `- error: cannot infer contextual base in reference to member 'global'
 52 |         timer?.schedule(deadline: .now(), repeating: .milliseconds(80))
 53 |         timer?.setEventHandler { [weak self] in
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:51:69: error: cannot infer contextual base in reference to member 'userInteractive'
 49 |         print("\u{001B}[?25l", terminator: "")
 50 |
 51 |         timer = DispatchSource.makeTimerSource(queue: .global(qos: .userInteractive))
    |                                                                     `- error: cannot infer contextual base in reference to member 'userInteractive'
 52 |         timer?.schedule(deadline: .now(), repeating: .milliseconds(80))
 53 |         timer?.setEventHandler { [weak self] in
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:52:36: error: cannot infer contextual base in reference to member 'now'
 50 |
 51 |         timer = DispatchSource.makeTimerSource(queue: .global(qos: .userInteractive))
 52 |         timer?.schedule(deadline: .now(), repeating: .milliseconds(80))
    |                                    `- error: cannot infer contextual base in reference to member 'now'
 53 |         timer?.setEventHandler { [weak self] in
 54 |             self?.render()
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:52:55: error: cannot infer contextual base in reference to member 'milliseconds'
 50 |
 51 |         timer = DispatchSource.makeTimerSource(queue: .global(qos: .userInteractive))
 52 |         timer?.schedule(deadline: .now(), repeating: .milliseconds(80))
    |                                                       `- error: cannot infer contextual base in reference to member 'milliseconds'
 53 |         timer?.setEventHandler { [weak self] in
 54 |             self?.render()
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:344:31: error: cannot find 'termios' in scope
342 |
343 |         // Enable raw mode for arrow key input
344 |         var originalTermios = termios()
    |                               `- error: cannot find 'termios' in scope
345 |         tcgetattr(STDIN_FILENO, &originalTermios)
346 |         var raw = originalTermios
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:345:9: error: cannot find 'tcgetattr' in scope
343 |         // Enable raw mode for arrow key input
344 |         var originalTermios = termios()
345 |         tcgetattr(STDIN_FILENO, &originalTermios)
    |         `- error: cannot find 'tcgetattr' in scope
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:347:25: error: cannot find 'tcflag_t' in scope
345 |         tcgetattr(STDIN_FILENO, &originalTermios)
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                         `- error: cannot find 'tcflag_t' in scope
348 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
349 |
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:347:34: error: cannot find 'ICANON' in scope
345 |         tcgetattr(STDIN_FILENO, &originalTermios)
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                  `- error: cannot find 'ICANON' in scope
348 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
349 |
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:347:43: error: cannot find 'ECHO' in scope
345 |         tcgetattr(STDIN_FILENO, &originalTermios)
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
    |                                           `- error: cannot find 'ECHO' in scope
348 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
349 |
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:348:9: error: cannot find 'tcsetattr' in scope
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
348 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
    |         `- error: cannot find 'tcsetattr' in scope
349 |
350 |         // Hide cursor
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:348:33: error: cannot find 'TCSAFLUSH' in scope
346 |         var raw = originalTermios
347 |         raw.c_lflag &= ~tcflag_t(ICANON | ECHO)
348 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
349 |
350 |         // Hide cursor
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:429:9: error: cannot find 'tcsetattr' in scope
427 |
428 |         // Restore terminal
429 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &originalTermios)
    |         `- error: cannot find 'tcsetattr' in scope
430 |         print("\u{001B}[?25h", terminator: "") // Show cursor
431 |         print("") // New line
/host/spi-builder-workspace/.build/checkouts/prompt/Sources/Prompt/PromptService.swift:429:33: error: cannot find 'TCSAFLUSH' in scope
427 |
428 |         // Restore terminal
429 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &originalTermios)
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
430 |         print("\u{001B}[?25h", terminator: "") // Show cursor
431 |         print("") // New line
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CVips/shim.h:4:10: error: 'vips/vips.h' file not found
   2 | #define CVIPS_SHIM_H
   3 |
   4 | #include <vips/vips.h>
     |          `- error: 'vips/vips.h' file not found
   5 | #include <errno.h>
   6 | #include <fcntl.h>
BUILD FAILURE 6.3 wasm