Build Information
Failed to build hokusai, reference main (cc58c7), with Swift 6.3 for Android on 20 Nov 2026 22:53:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivantokar/hokusai.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cc58c75 docs: restructure README (#185)
Cloned https://github.com/ivantokar/hokusai.git
Revision (git rev-parse @):
cc58c753226417cab9014a2fe1964c92afe95945
SUCCESS checkout https://github.com/ivantokar/hokusai.git at main
========================================
Build
========================================
Selected platform: android
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-53886769-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:41afcdb97864bf5406d0ae8aa5bcfcef33b811a9f32d0153a8ac0739abb37de2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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/19518] Fetching prompt, swift-argument-parser
[19519/106468] Fetching prompt, swift-argument-parser, swift-nio
Fetched https://github.com/ivantokar/prompt.git from cache (3.36s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.36s)
Fetched https://github.com/apple/swift-nio.git from cache (3.40s)
Computing version for https://github.com/ivantokar/prompt.git
Computed https://github.com/ivantokar/prompt.git at 1.1.2 (3.64s)
Fetching https://github.com/onevcat/Rainbow.git
[1/1518] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.36s)
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.52s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.2 (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.27s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
[1937/9555] Fetching swift-atomics, swift-system
[9480/39900] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
[6792/32281] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.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
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.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/50] Write sources
[22/50] Compiling CNIOWindows WSAStartup.c
[23/50] Compiling CNIOWASI CNIOWASI.c
[24/50] Compiling CNIOWindows shim.c
[24/50] Compiling _AtomicsShims.c
[26/50] Compiling CNIOPosix event_loop_id.c
[27/50] Compiling CNIOFreeBSD shim.c
[28/50] Compiling CNIOLinux liburing_shims.c
[29/50] Compiling CNIODarwin shim.c
[30/50] Compiling CNIOOpenBSD shim.c
[31/50] Write sources
[34/50] Write swift-version-272D24FF697CF451.txt
[35/50] Compiling CNIOLinux shim.c
[37/151] Emitting module InternalCollectionsUtilities
[37/154] Compiling c-nioatomics.c
[39/156] Emitting module Atomics
[39/158] Compiling c-atomics.c
[41/165] Compiling Hokusai MetadataPolicy.swift
[42/165] Compiling Hokusai HokusaiError.swift
[43/165] Compiling Hokusai Evaluator.swift
[44/165] Compiling Hokusai Planner.swift
[45/165] Compiling _NIODataStructures PriorityQueue.swift
[46/165] Compiling Atomics IntegerOperations.swift
[47/165] Compiling Atomics Unmanaged extensions.swift
[48/165] Compiling Hokusai AdvancedFilters.swift
[49/165] Compiling Hokusai Composition.swift
[50/165] Compiling Hokusai PDFOutput.swift
[51/165] Compiling Hokusai Hokusai.swift
[52/165] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[53/165] Compiling InternalCollectionsUtilities _SortedCollection.swift
[54/165] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[55/165] Compiling _NIOBase64 Base64.swift
[56/165] Emitting module _NIOBase64
[57/165] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[58/165] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[59/165] Compiling Hokusai ChunkQueue.swift
[60/165] Compiling Hokusai EvaluationScheduler.swift
[61/165] Compiling Hokusai NativeMetadataPolicy.swift
[62/165] Compiling Hokusai NativeRaw.swift
[63/165] Compiling Hokusai NativeText.swift
[67/166] Compiling Hokusai Enums.swift
[68/166] Compiling Hokusai ImageFormat.swift
[69/166] Compiling Hokusai ImageMetadata.swift
[70/166] Compiling Hokusai InputOptions.swift
[80/167] Compiling Hokusai PipelineModels.swift
[81/167] Compiling Hokusai RawPixels.swift
[82/167] Compiling Hokusai SpooledInput.swift
[83/167] Compiling Hokusai TextModels.swift
[85/167] Compiling Hokusai NativeComposition.swift
[86/167] Compiling Hokusai NativeContentAware.swift
[87/167] Compiling Hokusai NativeEffects.swift
[88/167] Compiling Hokusai PDFModels.swift
[92/167] Compiling Hokusai NativeAdvanced.swift
[97/167] Compiling _NIODataStructures Heap.swift
[98/167] Emitting module _NIODataStructures
[100/168] Compiling _NIODataStructures _TinyArray.swift
[103/173] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[104/173] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[105/173] Emitting module SpanPreview
[106/173] Compiling SpanPreview InputSpan.swift
[107/174] Compiling NIOConcurrencyHelpers lock.swift
[108/174] Compiling NIOConcurrencyHelpers atomics.swift
[114/175] Compiling NIOConcurrencyHelpers NIOLock.swift
[115/175] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[116/175] Emitting module NIOConcurrencyHelpers
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/203] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[119/218] Compiling DequeModule Deque+Equatable.swift
[120/218] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[121/218] Emitting module ArgumentParserToolInfo
[122/218] Compiling ArgumentParserToolInfo ToolInfo.swift
[124/219] Compiling DequeModule UniqueDeque+Consumption.swift
[125/219] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[126/219] Compiling DequeModule UniqueDeque+Deprecations.swift
[127/219] Compiling DequeModule UniqueDeque+Descriptions.swift
[128/219] Compiling DequeModule UniqueDeque+Equatable.swift
[129/219] Compiling DequeModule UniqueDeque+Hashable.swift
[129/224] Wrapping AST for ArgumentParserToolInfo for debugging
[131/266] Compiling ArgumentParser ArgumentDiscussion.swift
[132/266] Compiling ArgumentParser ArgumentHelp.swift
[133/266] Compiling ArgumentParser ParentCommand.swift
[134/266] Compiling ArgumentParser AsyncParsableCommand.swift
[135/266] Compiling ArgumentParser CommandConfiguration.swift
[136/266] Compiling ArgumentParser CommandGroup.swift
[137/271] Compiling ArgumentParser ParsedValues.swift
[138/271] Compiling ArgumentParser ParserError.swift
[139/271] Compiling ArgumentParser SplitArguments.swift
[140/271] Compiling ArgumentParser DumpHelpGenerator.swift
[141/271] Compiling ArgumentParser Mutex.swift
[142/271] Compiling ArgumentParser MessageInfo.swift
[143/271] Compiling ArgumentParser UsageGenerator.swift
[144/271] Compiling ArgumentParser CollectionExtensions.swift
[145/271] Compiling ArgumentParser Foundation.swift
[146/271] Compiling ArgumentParser Name.swift
[147/271] Compiling ArgumentParser Parsed.swift
[148/271] Compiling ArgumentParser EnumerableFlag.swift
[149/271] Compiling ArgumentParser ExpressibleByArgument.swift
[150/271] Compiling ArgumentParser ParsableArguments.swift
[151/271] Compiling ArgumentParser ParsableCommand.swift
[152/271] Compiling ArgumentParser ArgumentDecoder.swift
[153/271] Compiling ArgumentParser ArgumentDefinition.swift
[154/271] Compiling ArgumentParser OptionGroup.swift
[155/271] Compiling ArgumentParser BashCompletionsGenerator.swift
[156/271] Compiling ArgumentParser CompletionsGenerator.swift
[157/271] Compiling ArgumentParser FishCompletionsGenerator.swift
[158/271] Compiling ArgumentParser ZshCompletionsGenerator.swift
[159/271] Compiling ArgumentParser Argument.swift
[160/271] Emitting module ArgumentParser
[161/277] Compiling ArgumentParser ArgumentVisibility.swift
[162/277] Compiling ArgumentParser CompletionKind.swift
[163/277] Compiling ArgumentParser Errors.swift
[164/277] Compiling ArgumentParser Flag.swift
[165/277] Compiling ArgumentParser NameSpecification.swift
[166/277] Compiling ArgumentParser Option.swift
[181/277] Compiling ArgumentParser AsyncCompletionsValidator.swift
[182/277] Compiling ArgumentParser CodingKeyValidator.swift
[183/277] Compiling ArgumentParser NonsenseFlagsValidator.swift
[184/277] Compiling ArgumentParser ParsableArgumentsValidation.swift
[185/277] Compiling ArgumentParser PositionalArgumentsValidator.swift
[186/277] Compiling ArgumentParser UniqueNamesValidator.swift
[194/277] Emitting module DequeModule
[195/277] Compiling ArgumentParser Platform.swift
[196/277] Compiling ArgumentParser SequenceExtensions.swift
[197/277] Compiling ArgumentParser StringExtensions.swift
[198/277] Compiling ArgumentParser SwiftExtensions.swift
[199/277] Compiling ArgumentParser Tree.swift
[204/278] Compiling ArgumentParser ArgumentSet.swift
[205/278] Compiling ArgumentParser CommandParser.swift
[206/278] Compiling ArgumentParser InputKey.swift
[207/278] Compiling ArgumentParser InputOrigin.swift
[214/278] Compiling ArgumentParser HelpCommand.swift
[215/278] Compiling ArgumentParser HelpGenerator.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.
<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.
<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.
<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.
[230/301] Compiling NIOCore NIOAsyncSequenceProducer.swift
[231/301] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[233/304] Compiling NIOCore NIOAsyncWriter.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[234/304] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[235/325] Compiling NIOCore AddressedEnvelope.swift
[236/325] Compiling NIOCore AsyncAwaitSupport.swift
[237/326] Compiling NIOCore AsyncChannel.swift
[238/326] Compiling NIOCore AsyncChannelHandler.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.
<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.
<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.
<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.
[243/329] Compiling NIOCore AsyncChannelInboundStream.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.
[244/342] Compiling Rainbow StyledStringBuilder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[245/347] 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.
<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 |
BUILD FAILURE 6.3 android