The Swift Package Index logo.Swift Package Index

Build Information

Failed to build hokusai, reference main (d1b0e2), with Swift 6.3 for Android on 23 Apr 2026 11:01:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-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.3
Building package at path:  $PWD
https://github.com/ivantokar/hokusai.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/ivantokar/prompt.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 (0.80s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
[28127/37502] Fetching swift-testing
Fetched https://github.com/apple/swift-testing.git from cache (1.58s)
Computing version for https://github.com/ivantokar/prompt.git
Computed https://github.com/ivantokar/prompt.git at 1.1.1 (2.03s)
Fetching https://github.com/onevcat/Rainbow.git
[1/1442] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.34s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (3.20s)
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.44s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.99.0 (0.50s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75036] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.75s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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/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/ivantokar/prompt.git
Working copy of https://github.com/ivantokar/prompt.git resolved at 1.1.1
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--4F562202D5529B1.txt
[10/49] Compiling Hokusai ImageFormat.swift
[11/49] Compiling Hokusai ImageMetadata.swift
[12/50] Compiling Hokusai Crop.swift
[13/50] Compiling Hokusai Resize.swift
[14/50] Compiling Hokusai Composite.swift
[15/50] Compiling Hokusai Convert.swift
[16/50] Emitting module ArgumentParserToolInfo
[17/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/51] Wrapping AST for ArgumentParserToolInfo for debugging
[20/97] 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.
[21/97] 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.
[22/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/97] 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.
[25/97] 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.
[26/97] 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.
[27/97] 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.
[28/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.
[29/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/99] Compiling ArgumentParser CompletionsGenerator.swift
[32/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 |         }
<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.
<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)
[35/99] 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.
<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.
<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.
[38/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.
[39/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 |         }
[44/99] Compiling Rainbow StyledStringBuilder.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 | /**
BUILD FAILURE 6.3 android