The Swift Package Index logo.Swift Package Index

Build Information

Failed to build hokusai, reference main (d1b0e2), with Swift 6.2 for Android on 23 Apr 2026 10:58:59 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 d1b0e28 docs(comments): apply familiar comment contract across codebase (#12)
Cloned https://github.com/ivantokar/hokusai.git
Revision (git rev-parse @):
d1b0e282698260b3ed67b7944c22502d212efddb
SUCCESS checkout https://github.com/ivantokar/hokusai.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ivantokar/hokusai.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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/ivantokar/prompt.git
Fetching https://github.com/apple/swift-testing.git
[1/66] Fetching prompt
[67/17530] Fetching prompt, swift-argument-parser
[1115/55032] Fetching prompt, swift-argument-parser, swift-testing
Fetched https://github.com/ivantokar/prompt.git from cache (2.61s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.64s)
Fetched https://github.com/apple/swift-testing.git from cache (2.66s)
Computing version for https://github.com/ivantokar/prompt.git
Computed https://github.com/ivantokar/prompt.git at 1.1.1 (3.19s)
Fetching https://github.com/onevcat/Rainbow.git
[1/1442] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.25s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (2.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.68s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.99.0 (0.87s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75036] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.23s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (13.85s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
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.7.1
Creating working copy for https://github.com/ivantokar/prompt.git
Working copy of https://github.com/ivantokar/prompt.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.99.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.58s)
warning: you may be able to install vips using your system-packager:
    apt-get install libvips-dev
warning: you may be able to install vips using your system-packager:
    apt-get install libvips-dev
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/49] 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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[11/51] Compiling Rainbow StringGenerator.swift
[12/51] Compiling Rainbow Style.swift
[13/52] Compiling Rainbow String+ConditionalStyling.swift
[14/52] Compiling Rainbow String+Rainbow.swift
[15/52] Emitting module ArgumentParserToolInfo
[16/52] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/53] Wrapping AST for ArgumentParserToolInfo for debugging
[19/99] Compiling ArgumentParser ParentCommand.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[20/99] Compiling ArgumentParser AsyncParsableCommand.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[21/99] Compiling ArgumentParser Flag.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[22/99] Compiling ArgumentParser NameSpecification.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[23/99] Compiling ArgumentParser Argument.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[24/99] Compiling ArgumentParser ArgumentDiscussion.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[25/99] Compiling ArgumentParser CompletionKind.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[26/99] Compiling ArgumentParser Errors.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[27/99] Compiling ArgumentParser Option.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[28/99] Compiling ArgumentParser OptionGroup.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[29/99] Compiling ArgumentParser FishCompletionsGenerator.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[30/99] Compiling ArgumentParser ZshCompletionsGenerator.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[31/99] Compiling ArgumentParser ArgumentHelp.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[32/99] Compiling ArgumentParser ArgumentVisibility.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[39/99] Compiling ArgumentParser BashCompletionsGenerator.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
[40/99] Compiling ArgumentParser CompletionsGenerator.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 |
  6 | /**
/host/spi-builder-workspace/Sources/Hokusai/Backend/VipsBackend.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 | /// PURPOSE: Own libvips image pointer lifecycle and encode/decode primitives.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/99] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[46/99] Compiling Rainbow StyledStringBuilder.swift
BUILD FAILURE 6.2 android